Hi everyone,
Firstly Im new to Applescript, but not new to forums. I have searched the forum for what I am looking for and cannot find anything.
I have this script on startup:
tell application “Finder”
activate
mount volume “smb://USERNAME:PASSWORD@192.168.0.2/disk-1”
mount volume “smb://USERNAME:PASSWORD@192.168.0.2/disk-2”
mount volume “smb://USERNAME:PASSWORD@192.168.0.2/disk-3”
mount volume “smb://USERNAME:PASSWORD@192.168.0.2/disk-4”
end tell
Once that runs, it creates the mounts on the Desktop as follows;
DISK-1
DISK-2
DISK-3
DISK-4
Is there anyway I can tell the script to call a mount a different name without change the share name, something like this:
tell application “Finder”
activate
mount volume “smb://USERNAME:PASSWORD@192.168.0.2/disk-1” name “Albums”
mount volume “smb://USERNAME:PASSWORD@192.168.0.2/disk-2” name “Software”
mount volume “smb://USERNAME:PASSWORD@192.168.0.2/disk-3” name “Pictures”
mount volume “smb://USERNAME:PASSWORD@192.168.0.2/disk-4” name “Personal”
end tell
That doesnt work, I tried, does anyone know if this is possible?
Thanks in advance.
Juan
Model: Dual 2Ghz Power Mac G5
AppleScript: 1.9.3
Browser: Firefox 1.5.0.1
Operating System: Mac OS X (10.3.9)