Object Class ID Constants

Specify the object class for an Apple event object.


enum : OSType {


The object class of an Apple event object is identified by an object class ID. For example, the object class for an object specifier that specifies an RGB color value is the four-character code 'cRGB', which can be represented by the constant cRGBColor.

AppleScript defines constants for a wide variety of common object classes, though only a small number are shown here. For a more complete listing, see the Apple Event Manager and Open Scripting Architecture header files.