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: "John S. Baltutis" <email@hidden>
- Date: Mon, 28 Oct 2002 11:10:24 -0800
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"
which eliminates all folders, including the "Trash".
_______________________________________________
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.