Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Place an alias to anything on either side of the Dock' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Place an alias to anything on either side of the Dock
Authored by: cxd101 on May 09, '06 12:30:23PM

This looks really great! However, I must have something wrong with the syntax. I have a few Windoze users that would like an ad-hoc "Start-Menu" so this would help me out. Here's what I did and my results. Might you be able to suggest how to fix this? Thanks in advance!

osascript -e 'tell application "System Events" to set Folderalias of /Users/userName/Desktop/Start_Menu to "fapa"'
49:50: syntax error: Expected expression but found "/". (-2741)



[ Reply to This | # ]
Place an alias to anything on either side of the Dock
Authored by: adrianm on May 09, '06 03:47:54PM
You need to quote that path:

osascript -e 'tell application "System Events" to set Folderalias of posix file "/Users/userName/Desktop/Start_Menu" to "fapa"'


[ Reply to This | # ]
Place an alias to anything on either side of the Dock
Authored by: adrianm on May 09, '06 03:53:38PM

having said that, it still doesn't work.... was just looking at the path.



[ Reply to This | # ]
Place an alias to anything on either side of the Dock
Authored by: murali1080 on May 10, '06 03:07:03PM

Drag your Applications folder to the Dock. Right clicking on it will display a 'Start menu' like list of programmes.



[ Reply to This | # ]
Place an alias to anything on either side of the Dock
Authored by: aardvarko on May 14, '06 03:27:35PM

Run the literal code from the article. "(choose file)" and "(file type)" are AppleScript commands, not things you should swap out.



[ Reply to This | # ]