Types of creator types
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