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