Select volume to mount on SMB
Hey all, I asked this question in the wrong section so I'm reposting it here.
I wrote a quick little applescript that connects to a server at my school I use daily. The script is as follows:
--tell application "Finder"
try
mount volume ("smb://username:password@xxx.xxx.xx.x")
end try
--end tell
After I run this script I get a prompt asking me "Select the volumes you want to mount on xxx.xxx.xx.x", and two options are available to be chosen, let's say username and username2.
My question is: is there is a way to specifiy which volume to mount on in the applescript? I only ever use one of the options (username).
Thanks in advance for help with this question!!!
Mac OS X (10.6.4)