Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

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)

Posted on Aug 9, 2011 6:46 AM

Reply
Question marked as Best reply

Posted on Aug 9, 2011 8:34 AM

try this:


mount volume "smb://username:password@xxx.xxx.xx.x/username"

3 replies

Select volume to mount on SMB

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.