Re: how to use mount volume with timeout argument in AppleScript.
Re: how to use mount volume with timeout argument in AppleScript.
- Subject: Re: how to use mount volume with timeout argument in AppleScript.
- From: Gnarlodious <email@hidden>
- Date: Thu, 3 Aug 2006 06:55:01 -0600
Amit Jain wrote:
I am unable to use an argument
for timeout in the following command:
tell application "Finder"
mount volume "smb://any-user:password@ipaddress/sharedVolume"
end tell
where shud I put the timeout argument or if anyone knows a better way
to do the same.
You don't need to use a "tell Finder" block to mount a server:
with timeout of 60 seconds
mount volume "afp://" & theAddress & "/" & theVolume & "/" as user
name theAccount with password thePassword
beep 2
end timeout
-- Gnarlie
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden