mount Samba disk

/ Published in: AppleScript
Save to your folder(s)

mount Samba disk named "SHARE" if we haven't mounted it

Copy this code and paste it in your HTML
  1. tell application "Finder"
  2. if not (exists "SHARE") then
  3. mount volume "smb://" as user name "username" with password "password"
  4. end if
  5. end tell

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.