Posts Tagged ‘ Apple Script

mount samba share on MAC desktop

Locate apple script on your system under utilities.  Create a new document and do one of the two below actions.

 

tell application "finder"
map volume "smb://servername/servershare"
end tell

OR with username and password

tell application "Finder"
mount volume "smb://WORKGROUP;username:password@servername/servershare"
end tell

Save the file, I change it from a script to an application so I can still edit it, but i can just double click it to use it.

If you want this to work automatically, add the script to the user account startup options found in the account settings in settings.

 

Other apple commands, good read 😉

http://www.tuaw.com/2007/12/29/applescript-finder-commands/