• 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: filtering a list of items with Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: filtering a list of items with Finder


  • Subject: Re: filtering a list of items with Finder
  • From: John Stewart <email@hidden>
  • Date: Mon, 28 Oct 2002 06:58:41 -0500

On Monday, October 28, 2002, at 05:57 AM, has wrote:

Andy Wylie wrote:

[paraphrased code]

set theDesktop to <<class desk>> of application "Finder"
get items of theDesktop whose class is not in {<<class cdis>>, <<class
trsh>>}

As hideous to look at as it is clever<g>. Unfortunately, I have bad news...


My 2",

set excludeList to (list disks) & "Trash"
tell application "Finder" to set flist to (every item of desktop whose name is not in excludeList) as alias list


produces a list of aliases


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: filtering a list of items with Finder (From: has <email@hidden>)

  • Prev by Date: Re: Scripting in Excel -> search different words in column and > color them
  • Next by Date: Re: ill-10: removing predefined bar-designs
  • Previous by thread: Re: filtering a list of items with Finder
  • Next by thread: Re: filtering a list of items with Finder
  • Index(es):
    • Date
    • Thread