The above to to automount a samba share given username user and password password on a server server with share share!
tell application "Finder"
mount volume "smb://user:pass@server/share"
end tell
Then use the file menu and save the script as an application. Then to execute just double click and hey presto, the share is mounted in /Volume/share!
No comments:
Post a Comment