![]() |
Object Class ID Constants |
Header: AERegistry.h |
Specify the object class for an Apple event object.
enum { cParagraph = 'cpar', cPICT = 'PICT', cPixel = 'cpxl', cPixelMap = 'cpix', cPolygon = 'cpgn', cProperty = 'prop', cQDPoint = 'QDpt', cQDRectangle = 'qdrt', cRectangle = 'crec', cRGBColor = 'cRGB', cRotation = 'trot', cRoundedRectangle = 'crrc', cRow = 'crow', cSelection = 'csel', cShortInteger = 'shor', cTable = 'ctbl', cText = 'ctxt', cTextFlow = 'cflo', cTextStyles = 'tsty', cType = 'type' };
A paragraph of text.
A PICT format figure.
A property of any object class.
An RGB color value.
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 and Scripting header files or the Mac OS Registry, a database collection of Apple Event and Scripting information distributed with AppleScript SDKs.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)