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

Re: Types of creator types


  • Subject: Re: Types of creator types
  • From: Arthur J Knapp <email@hidden>
  • Date: Thu, 20 Dec 2001 13:29:15 -0500

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


> 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

Yeah, this is a really old bug, which has been well documented by
Bill Cheeseman:

<http://www.AppleScriptSourcebook.com/applescript/applescript112.html#newbug
s>

> 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?

After several years of professionally working with computers and
computer companies, I'm a little confused about what the difference
between a bug and a feature is...

;-)


{ Arthur J. Knapp, of <http://www.STELLARViSIONs.com>
<mailto:email@hidden>
try
<http://www.LateNightSW.com/>
on error number -128
end try
}


  • Prev by Date: Re: seeking webguru advice on html character encoding
  • Next by Date: Re: seeking webguru advice on html character encoding
  • Previous by thread: Re: trouble making folder action...
  • Next by thread: Re: Types of creator types
  • Index(es):
    • Date
    • Thread