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: hamarkus on Feb 02, '05 03:00:22PM
This Applescript works fine for me, upon first connect it is asking for the password and whether to save it in Keychain, after that it is just a doubleclick (or if you use some utility like DropDrawers just a hotkey). The important thing is to add the username to the URL (maybe this is only necessary if it your username on the Windows server is different from your OS X username).

tell application "Finder"
mount volume "smb://domain;username@servername/share"
end tell


[ Reply to This | # ]