• 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: Paul Skinner <email@hidden>
  • Date: Mon, 28 Oct 2002 15:08:42 -0500

On Monday, October 28, 2002, at 02:10 PM, John S. Baltutis wrote:

On 10/28/02, Paul Skinner <email@hidden> wrote:

How about just...

tell application "Finder"
set trashKind to (get the kind of trash)
set diskKind to (get the kind of the startup disk)
name of (every item of the desktop whose kind is not in {trashKind,
diskKind})
end tell

get the kind of trash
--> "folder"

You must be running an old, dead operating system. : )

And I should have posted environment information.

ON OS X 10.2.1 / AS 1.9

tell application "Finder"
set trashKind to (get the kind of trash)
-->"Trash"
end tell

--
Paul Skinner

I refuse to even pretend to try to make this stuff all work on OS < X.
_______________________________________________
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: "John S. Baltutis" <email@hidden>)

  • Prev by Date: Re: applescript-users digest, Vol 3 #1014 - 16 msgs
  • Next by Date: Deleting a file that is already in the trash...
  • 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