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: has <email@hidden>
- Date: Sun, 27 Oct 2002 17:08:08 +0000
John S. Baltutis wrote:
[snip extremely educational tests]
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), an
explicit 'get' is required.
Honestly, this is a ridiculous amount of caveats, gotchas, kludges and
hacks for _any_ user to have to deal with. I might expect such perversity
and obnoxiousness from something like C, but not from a language whose
major selling point supposedly(!) is terrific ease of use.
has [1]
[1] Who really should've learned by now not to say things like "So it
should be robust enough" without first _exhaustively_ testing it for
himself, stupid bleeder.
--
http://www.barple.pwp.blueyonder.co.uk -- The Little Page of AppleScripts
_______________________________________________
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.