• 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: How to list local volumes ...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to list local volumes ...


  • Subject: Re: How to list local volumes ...
  • From: John Stewart <email@hidden>
  • Date: Wed, 16 Oct 2002 17:11:28 -0400

On Wednesday, October 16, 2002, at 11:04 AM, Ben Waldie wrote:

Charles,

On Tuesday, October 15, 2002, at 05:03 PM, Charles Heizer wrote:

I'm trying to write a script that will tell me some info about our systems. I would like to know if there is a way to have applescript give me a list of the local volumes(Disks) that are mounted.

tell app "finder"
set theVolumes to every disk whose local is true
end

- Ben

Don't need the Finder - from the Standard Additions osax

list disks


John
_______________________________________________
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.

References: 
 >Re: How to list local volumes ... (From: Ben Waldie <email@hidden>)

  • Prev by Date: Mac OS Version Sniffer
  • Next by Date: Re: Script Objects
  • Previous by thread: Re: How to list local volumes ...
  • Next by thread: Script Objects
  • Index(es):
    • Date
    • Thread