Re: Mounting a laptop volume
Re: Mounting a laptop volume
- Subject: Re: Mounting a laptop volume
- From: Jim Brandt <email@hidden>
- Date: Thu, 12 May 2011 15:28:26 -0500
Deivy,
The extra period is there because that is what I copied from the server displayed when I did a "Get Info" on the manually mounted volume. This command
gives a error "Disk jim wasn't found."
So far, the only thing I can get to work was the open location recommended by Axel. The only problem with that is it won't honor a try block if the laptop is sleeping or otherwise not available.
tell application "Finder" set Secs to 0 set mounted to true if not (exists disk "jim") then try on error the error_message number the error_number display dialog "Error: " & the error_number & ". " & the error_message buttons {"OK"} default button 1 end try end if
never goes through the on error. I get a "connection failed" dialog instead.
Jim, you have an extra period after the local. I tried mount volume and works correctly here (I don't remember having a problem with it)
You can also try
mount volume "afp://jim:email@hidden/jim"
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden