• 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
Types of creator types
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Types of creator types


  • Subject: Types of creator types
  • From: Nigel Garvey <email@hidden>
  • Date: Thu, 20 Dec 2001 17:06:35 +0000

This came up on alt.comp.lang.applescript this morning and is true for
Mac OSses 8.6 and 9.0.4. If you ask the Finder for the creator type of
any one of its processes, it returns a four-character string. If you ask
for the creator type of every process, it returns a list of *classes* -
eg. {<<class ToyS>>, <<class fred>>} - so that:

tell application "Finder"
set a to creator type of first process
set b to creator type of every process
b contains a
end tell
--> false

In a 'whose' clause, either manifestation will work

tell application "Finder"
set a to processes whose creator type is "ToyS"
set b to processes whose creator type is <<class ToyS>>
a = b
end
--> true

Is this a bug, or a feature?

NG


  • Follow-Ups:
    • Re: Types of creator types
      • From: Paul Skinner <email@hidden>
  • Prev by Date: seeking webguru advice on html character encoding
  • Next by Date: Re: Alias List or Repeat in 8.1
  • Previous by thread: Re: seeking webguru advice on html character encoding
  • Next by thread: Re: Types of creator types
  • Index(es):
    • Date
    • Thread