• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: filtering a list of items with Finder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: filtering a list of items with Finder
      • From: Gakuji Ohtori <email@hidden>
References: 
 >Re: filtering a list of items with Finder (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Scripting in Excel -> search different words in column and color them
  • Next by Date: Re: Scripting in Excel -> search different words in column and color them
  • Previous by thread: Re: filtering a list of items with Finder
  • Next by thread: Re: filtering a list of items with Finder
  • Index(es):
    • Date
    • Thread