• 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: "Nigel Garvey" <email@hidden>
  • Date: Sat, 26 Nov 2005 02:31:31 +0000

"Francois Houle" wrote on Fri, 25 Nov 2005 16:30:43 -0500:

>Hi,
>
>I'm wondering if this is possible.
>I use
>
>list disks
>set listing to the result
>
> in AS to get the list of available mounted disks on the computer. That
>works fine... However I want to remove the local disks in that list to
>only get the network mounted volumes in the list. I can't find in the AS
>docs how to "clean up" my list once I have it.

Is this what you mean?

  tell application "Finder" -- or "System Events"
    set listing to name of every disk where it is not local volume and
its name is not "Network"
  end tell

NG

 _______________________________________________
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

  • Follow-Ups:
    • Re: Weeding out items from list
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: choose file of type
  • 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