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


Click here to return to the 'Connect to servers with Applescript using Keychain' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Connect to servers with Applescript using Keychain
Authored by: Eravau on Feb 02, '05 11:49:26AM
You could actually shorten this line three more words by eliminating the from user domain phrase. AppleScript appears to default to the user domain if no domain is specified. While we're at it, let's just put it all on one line and eliminate a few other extraneous commands. By the way, thanks for reminding me that the Favorites folder was a special AppleScript variable. I was originally heading down the path to home & "Library:Favorites..." trail.

Final Code (line split for the screen width impaired):
tell application "Finder" to open alias 
((path to favorites folder as string) & "Alias to Server")


[ Reply to This | # ]
Nice!
Authored by: jason mark on Feb 02, '05 07:56:01PM

Thanks for this!



[ Reply to This | # ]