• 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: Weeding out items from list
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Weeding out items from list


  • Subject: Re: Weeding out items from list
  • From: Yvan KOENIG <email@hidden>
  • Date: Sat, 26 Nov 2005 13:27:18 +0100

If you really wish to use the Finder, this will do the trick

tell application "Finder"
try
set listing to name of every disk whose local volume is false and name is not "Network"
on error
set listing to {}
end try
end tell


But, using System Events would be easier:

tell application "System Events"
set listing to name of every disk whose local volume is false and name is not "Network"
end tell


Yvan KOENIG

_______________________________________________
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: 
 >Re: Weeding out items from list (From: "Nigel Garvey" <email@hidden>)
 >Re: Weeding out items from list (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Weeding out items from list
  • Next by Date: Re: Weeding out items from list
  • Previous by thread: Re: Weeding out items from list
  • Next by thread: Re: Weeding out items from list
  • Index(es):
    • Date
    • Thread