![]() |
gestaltAppleScriptAttr |
Header: Gestalt.h |
enum { gestaltAppleScriptAttr = 'ascr', gestaltAppleScriptPresent = 0, gestaltAppleScriptPowerPCSupport = 1 };
A selector you pass to the Gestalt function. If AppleScript is not present, the Gestalt function returns an error value; otherwise, it returns noErr and supplies, in the response parameter, a 32-bit value whose bits specify which AppleScript features are available.
The only bit currently in use specifies whether AppleScript is present. You can test this bit with the constant gestaltAppleScriptPresent.
A Gestalt attribute constant. If the bit specified by this constant is set in the response parameter value supplied by Gestalt for the gestaltAppleScriptAttr selector, AppleScript is present.
© 2000 Apple Computer, Inc. (Last Updated 6/30/2000)