Re: Disk or Volume path help needed
Re: Disk or Volume path help needed
- Subject: Re: Disk or Volume path help needed
- From: "J. Stewart" <email@hidden>
- Date: Wed, 13 Jul 2005 06:11:00 -0400
On 07/12/05 at -0500 Robert Kiolbassa said this
>Essentially, what I need to do is to test whether
>"smb://ri-fs07.myComp.org/MyShare/" from my variable, exists using that
>path, or get the share name and compare against the list or "...exists"
>preferably without using TIDs.
set lst to list disks -- assuming a need for more than one test
if lst contains (last word of "smb://ri-fs07.myComp.org/MyShare/") then
-- true = mounted
else
-- false = not mounted
end
Seems to work for me.
JBS
--
Never kick a cow chip on a hot day. — Will Rogers
_______________________________________________
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