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: Andy Wylie <email@hidden>
- Date: Mon, 28 Oct 2002 10:33:20 +1300
on Sun, 27 Oct 2002 17:08:08 +0000 has wrote:
>
OS9.2.2/AS1.6 and OS10.1.5/AS1.8.2 also screw up. Use:
>
>
get items of desktop whose kind is (get kind of startup disk)
>
get items of desktop whose kind is not (get kind of startup disk)
>
>
It appears that 'kind of startup disk' needs fully evaluated to work here -
>
since AS/Finder isn't doing this itself (though why not is beyond me),
Finder's folder class and it's references have always been a headache,
surely you're not surprised.
>
an explicit 'get' is required.
or 'whose kind is not "disk"' or as string. I suspect Gaji wants files and
folders and I don't think you'll have any success filtering out trash with
kind.
_____________________________ Andy
_______________________________________________
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.