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: Paul Skinner <email@hidden>
- Date: Sun, 27 Oct 2002 10:24:40 -0500
On Saturday, October 26, 2002, at 09:57 AM, Shane Stanley wrote:
On 26/10/02 11:41 PM +1000, Gakuji Ohtori, email@hidden, 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.
Have you tried "...kind is not kind of startup disk"?
--
Shane Stanley, email@hidden
Did anyone try this in another language? Gaji?
tell application "Finder"
the items of the desktop whose kind is not (get the kind of the
startup disk)
end tell
If it works properly then it seems like you could create a localization
routine to generate localized values for the properties of the finder.
--
Paul Skinner
Trying to switch my test user account to french...hmmm...non,
peut-jtre...non...
_______________________________________________
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.