• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Disk or Volume path help needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Disk or Volume path help needed (From: Robert Kiolbassa <email@hidden>)

  • Prev by Date: Re: Newbie to Applescript
  • Next by Date: Re: Disk or Volume path help needed
  • Previous by thread: Disk or Volume path help needed
  • Next by thread: Re: Disk or Volume path help needed
  • Index(es):
    • Date
    • Thread