Important: The information in this document is obsolete and should not be used for new development.
AEManagerInfo
You can use theAEManagerInfo
function to obtain information about the version of the Apple Event Manager currently available or the number of processes that are currently recording Apple events. This function is available only in version 1.01 and later versions of the Apple Event Manager.
FUNCTION AEManagerInfo (keyword: AEKeyword; VAR result: LongInt): OSErr;
keyword
- A value that determines what kind of information
AEManagerInfo
returns. The value can be represented by one of these constants:
- CONST keyAERecorderCount = 'recr';
keyAEVersion = 'vers';result
- If the value of the
keyword
parameter iskeyAERecorderCount,
this parameter is an integer that indicates the number of processes that are currently recording Apple events. If the value of thekeyword
parameter iskeyAEVersion,
this parameter is an integer that provides information about the version of the Apple Event Manager available on the current computer, using the same format as a'vers'
resource.RESULT CODE
noErr 0 No error SEE ALSO
For information about using theAEManagerInfo
function to check whether Apple event recording is on or not, see the chapter "Recording Apple Events" in this book.For information about using
Gestalt
to determine whether the Apple Event Manager is available, see "Handling Apple Events" on page 4-4.For information about the
'vers'
resource, see the chapter "Finder Interface" in Inside Macintosh: Macintosh Toolbox Essentials.