• 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 S. Baltutis" <email@hidden>
  • Date: Mon, 28 Oct 2002 01:26:13 -0800

OK! This works in OS 9.2.2/AS 1.8.3 and rather quickly.

tell application "Finder"
set x to (trash's index & disks's index)
set y to name of (every item of desktop whose x does not contain index)
end tell

result-->{" Apple OSX dmg ", "10.2 fixes", "Script Editor"<snip every
other thing on desktop that's not the trash or a disk>}.

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

  • Prev by Date: email@hidden
  • Next by Date: Re: filtering a list of items with Finder
  • 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