Re: mount volume, new error from out of the blue
Re: mount volume, new error from out of the blue
- Subject: Re: mount volume, new error from out of the blue
- From: kai <email@hidden>
- Date: Wed, 12 Oct 2005 17:59:25 +0100
On 12 Oct 2005, at 16:40, Eric Geoffroy wrote:
Sure enough, that did the trick. Only thing remaining is how to
relocate the test for disk "Graphics" outside of the IF block. or
how to relocate the MOUNT command out from the Tell Finder block.
I have a cold. Can't think straight.
tell application "Finder"
if not (exists disk "Graphics") then
mount volume "afp://h3rm4n:munster@mojo/Graphics"
end if
end tell
Perhaps something like:
----------------
tell application "Finder" to set diskExists to exists disk "Graphics"
if not diskExists then mount volume "afp://h3rm4n:munster@mojo/Graphics"
----------------
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden