Re: Help with a FileMaker Script
Re: Help with a FileMaker Script
- Subject: Re: Help with a FileMaker Script
- From: Todd Reid <email@hidden>
- Date: Fri, 14 Mar 2003 15:18:15 -0700
Although probably not the most elegent, this works for me:
tell application "Finder"
set x to "afp://address or name of server"
if not (exists x) then
mount volume x
else
quit
end if
end tell
Cheers,
Todd
On 3/14/03 2:29 PM, "Aaron Willems" <email@hidden> wrote:
>
Hello Everyone,
>
>
Thanks for everyone's help before in helping me write my first script.
>
It was script to mount an Appleshare Volume on my desktop. I want to
>
write a second script that acts as a Qualifier. Simply put, I want an
>
Applescript that checks to see if the drive is already mounted. I
>
figured I need an "if" Statement. Something like "true if it exists",
>
or "false or not"
>
>
Am I on the right track.
>
>
Thanks in advance for any Help.
>
>
Aaron Willems
>
Network Administrator
>
Lieberman Productions
>
>
For reference the first script looked like this.
>
>
tell application "Finder"
>
activate
>
open location "afp:/at/name of server:*"
>
end tell
>
_______________________________________________
>
applescript-users mailing list | email@hidden
>
Help/Unsubscribe/Archives:
>
http://www.lists.apple.com/mailman/listinfo/applescript-users
>
Do not post admin requests to the list. They will be ignored.
>
Creo | Creative Software Group
todd reid | quality assurance engineer | +1.720.932.4718
email@hidden |
http://www.creo.com/sixdegrees
IMAGINE CREATE BELIEVE
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.