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: Sun, 27 Oct 2002 12:28:34 +1300
on Sat, 26 Oct 2002 22:41:59 +0900 Gakuji Ohtori wrote:
>
On 2002.10.26, at 09:16 AM, has wrote:
>
>
> BTW, try:
>
>
>
> get items of desktop whose kind is not "disk"
>
>
>
> This works under OS9, but it's too late at night for yet another reboot
>
> into OS10 to see if it works there.
>
>
It works but the kind property varies between languages. In Japanese,
>
the kind property of a disk is not "disk". Just like the date class,
>
the value depends on the preferences. So if I want to write a universal
>
script that works in any languages, I can't use the kind property.
>
kind has always been useless, how about...
desktop's items whose name is not in ((disks's name as list) & trash's name)
I'm curious to know what's wrong with 'description contains'?
_____________________________ 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.