Re: filtering a list of items with Finder
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.