Specify the object class for an Apple event object.
- macOS 10.0+
- Mac Catalyst 13.0+
- Core Services
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
'c, which can be represented by the constant
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.