Would it be at all possible to do the following:
- Place an entire folder within the ~/Library/Application Support folder on a Mac.
- Make an alias on the desktop to a link inside that folder.
I'm trying to place an application (with the appropriate configuration files) within that folder and make a alias on the desktop to open said application on several computers. The challenge is the fact that every computer has a different username. Because of that, I'm not sure how to proceed.
edit:
I have to following set up, but AppleScript just throws me an error saying error "Can’t make «class ctnr» of \"~/Desktop/Armagetron\" into type text." number -1700 from «class ctnr» of "~/Desktop/Armagetron" to text
tell application "Finder"
move ((container of "~/Desktop/Armagetron") as text) & "x" to ("~/Library/Application Support")
make new alias at ("~/Desktop") to (("~/Library/Application Support/Armagetron Advanced.app") as text) & "Application Support:x:y:z"
end tell
The name of the folder itself is Armagetron Advanced
while the file I'm trying to the get an alias of is Armagetron Advanced.app
. I would like the alias to be placed in ~/Desktop
. The location I would like to put the folder into is ~/Library/Application Support
.