Apple Event Manager Reference
PDF
Overview
Functions by Task
Adding Items to Descriptor Lists
Adding Parameters and Attributes to Apple Events and Apple Event Records
Coercing Descriptor Types
Counting the Items in Descriptor Lists
Creating an Apple Event
Creating and Duplicating Descriptors
Creating, Calling, and Deleting Universal Procedure Pointers
Creating Descriptor Lists and Apple Event Records
Creating Object Specifiers
Deallocating Memory for Descriptors
Deallocating Memory for Tokens
Deleting Descriptors
Dispatching Apple Events
Getting, Calling, and Removing Object Accessor Functions
Getting Data or Descriptors From Apple Events and Apple Event Records
Getting Information About the Apple Event Manager
Getting Items From Descriptor Lists
Getting the Sizes and Descriptor Types of Descriptors
Initializing the Object Support Library
Locating Processes on Remote Computers
Managing Apple Event Dispatch Tables
Managing Coercion Handler Dispatch Tables
Managing Special Handler Dispatch Tables
Operating On Descriptor Data
Requesting More Time to Respond to Apple Events
Requesting User Interaction
Resolving Object Specifiers
Sending an Apple Event
Creating Apple Event Structures in Memory
Creating Apple Event Structures Using Streams
Working With Lower Level Apple Event Functions
Serializing Apple Event Data
Suspending and Resuming Apple Event Handling
Miscellaneous
Functions
AEBuildAppleEvent
AEBuildDesc
AEBuildParameters
AECallObjectAccessor
AECheckIsRecord
AECoerceDesc
AECoercePtr
AECountItems
AECreateAppleEvent
AECreateDesc
AECreateDescFromExternalPtr
AECreateList
AECreateRemoteProcessResolver
AEDecodeMessage
AEDeleteItem
AEDeleteKeyDesc
AEDeleteParam
AEDisposeDesc
AEDisposeRemoteProcessResolver
AEDisposeToken
AEDuplicateDesc
AEFlattenDesc
AEGetArray
AEGetAttributeDesc
AEGetAttributePtr
AEGetCoercionHandler
AEGetDescData
AEGetDescDataRange
AEGetDescDataSize
AEGetEventHandler
AEGetInteractionAllowed
AEGetKeyDesc
AEGetKeyPtr
AEGetNthDesc
AEGetNthPtr
AEGetObjectAccessor
AEGetParamDesc
AEGetParamPtr
AEGetRegisteredMachPort
AEGetSpecialHandler
AEGetTheCurrentEvent
AEInitializeDesc
AEInstallCoercionHandler
AEInstallEventHandler
AEInstallObjectAccessor
AEInstallSpecialHandler
AEInteractWithUser
AEManagerInfo
AEObjectInit
AEPrintDescToHandle
AEProcessAppleEvent
AEProcessMessage
AEPutArray
AEPutAttributeDesc
AEPutAttributePtr
AEPutDesc
AEPutKeyDesc
AEPutKeyPtr
AEPutParamDesc
AEPutParamPtr
AEPutPtr
AERemoteProcessResolverGetProcesses
AERemoteProcessResolverScheduleWithRunLoop
AERemoveCoercionHandler
AERemoveEventHandler
AERemoveObjectAccessor
AERemoveSpecialHandler
AEReplaceDescData
AEResetTimer
AEResolve
AEResumeTheCurrentEvent
AESend
AESendMessage
AESetInteractionAllowed
AESetObjectCallbacks
AESetTheCurrentEvent
AESizeOfAttribute
AESizeOfFlattenedDesc
AESizeOfKeyDesc
AESizeOfNthItem
AESizeOfParam
AEStreamClose
AEStreamCloseDesc
AEStreamCloseList
AEStreamCloseRecord
AEStreamCreateEvent
AEStreamOpen
AEStreamOpenDesc
AEStreamOpenEvent
AEStreamOpenKeyDesc
AEStreamOpenList
AEStreamOpenRecord
AEStreamOptionalParam
AEStreamSetRecordType
AEStreamWriteAEDesc
AEStreamWriteData
AEStreamWriteDesc
AEStreamWriteKey
AEStreamWriteKeyDesc
AESuspendTheCurrentEvent
AEUnflattenDesc
CreateCompDescriptor
CreateLogicalDescriptor
CreateObjSpecifier
CreateOffsetDescriptor
CreateRangeDescriptor
DisposeAECoerceDescUPP
DisposeAECoercePtrUPP
DisposeAEDisposeExternalUPP
DisposeAEEventHandlerUPP
DisposeAEFilterUPP
DisposeAEIdleUPP
DisposeOSLAccessorUPP
DisposeOSLAdjustMarksUPP
DisposeOSLCompareUPP
DisposeOSLCountUPP
DisposeOSLDisposeTokenUPP
DisposeOSLGetErrDescUPP
DisposeOSLGetMarkTokenUPP
DisposeOSLMarkUPP
InvokeAECoerceDescUPP
InvokeAECoercePtrUPP
InvokeAEDisposeExternalUPP
InvokeAEEventHandlerUPP
InvokeAEFilterUPP
InvokeAEIdleUPP
InvokeOSLAccessorUPP
InvokeOSLAdjustMarksUPP
InvokeOSLCompareUPP
InvokeOSLCountUPP
InvokeOSLDisposeTokenUPP
InvokeOSLGetErrDescUPP
InvokeOSLGetMarkTokenUPP
InvokeOSLMarkUPP
NewAECoerceDescUPP
NewAECoercePtrUPP
NewAEDisposeExternalUPP
NewAEEventHandlerUPP
NewAEFilterUPP
NewAEIdleUPP
NewOSLAccessorUPP
NewOSLAdjustMarksUPP
NewOSLCompareUPP
NewOSLCountUPP
NewOSLDisposeTokenUPP
NewOSLGetErrDescUPP
NewOSLGetMarkTokenUPP
NewOSLMarkUPP
vAEBuildAppleEvent
vAEBuildDesc
vAEBuildParameters
Callbacks by Task
Callbacks When Resolving Remote Processes
Callbacks When Creating Apple Events
Callbacks When Sending Apple Events
Coercing Apple Event Data Callbacks
Handling Apple Events Callbacks
Object Accessor Callbacks
Object Callback Functions
Callbacks
AECoerceDescProcPtr
AECoercePtrProcPtr
AEDisposeExternalProcPtr
AEEventHandlerProcPtr
AEFilterProcPtr
AEIdleProcPtr
AERemoteProcessResolverCallback
OSLAccessorProcPtr
OSLAdjustMarksProcPtr
OSLCompareProcPtr
OSLCountProcPtr
OSLDisposeTokenProcPtr
OSLGetErrDescProcPtr
OSLGetMarkTokenProcPtr
OSLMarkProcPtr
Data Types
AEArrayData
AEBuildError
AEDesc
AEKeyDesc
AERemoteProcessResolverContext
ccntTokenRecord
IntlText
OffsetArray
TextRange
TextRangeArray
TScriptingSizeResource
WritingCode
AEAddressDesc
AEArrayDataPointer
AEArrayType
AECoerceDescUPP
AECoercePtrUPP
AECoercionHandlerUPP
AEDataStorage
AEDataStorageType
AEDescList
AEEventSource
AEDisposeExternalUPP
AEEventClass
AEEventHandlerUPP
AEEventID
AEFilterUPP
AEIdleUPP
AEKeyword
AERecord
AERemoteProcessResolverRef
AEReturnID
AESendOptions
AESendPriority
AEStreamRef
AETransactionID
AppleEvent
DescType
OffsetArrayHandle
OSLAccessorUPP
OSLAdjustMarksUPP
OSLCompareUPP
OSLCountUPP
OSLDisposeTokenUPP
OSLGetErrDescUPP
OSLGetMarkTokenUPP
OSLMarkUPP
AEInteractAllowed
Constants
AEBuild Error Codes
AESendMode
Apple Event Recording Event ID Constants
cAEList
Callback Constants for the AEResolve Function
cInsertionLoc
cKeystroke
Comparison Operator Constants
Constants for Object Specifiers, Positions, and Logical and Comparison Operations
cURL
cVersion
Data Array Constants
Descriptor Type Constants
eScheme
Event Class Constants
Event Handler Flags
Event ID Constants
Event Source Constants
Factoring Constants
ID Constants for the AECreateAppleEvent Function
Key Form and Descriptor Type Object Specifier Constants
Keyword Attribute Constants
Keyword Parameter Constants
Launch Apple Event Constants
Numeric Descriptor Type Constants
Object Class ID Constants
Other Descriptor Type Constants
Priority Constants for the AESend Function (Deprecated in Mac OS X)
Remote Process Dictionary Keys
Resume Event Dispatch Constants
Special Handler Callback Constants
Timeout Constants
User Interaction Level Constants
Whose Test Constants
kAEDoObjectsExist
kAEDebugPOSTHeader
kAEGetPrivilegeSelection
kAEHandleArray
kAEInfo
kAEInternetSuite
kAEISGetURL
kAEISHTTPSearchArgs
kAELogOut
kAEMenuClass
kAEMouseClass
kAENonmodifiable
kAEQDNotOr
kAESetPosition
kAESocks4Protocol
kAEUseHTTPProxyAttr
kAEUserTerminology
kAEUseSocksAttr
kAEUTHasReturningParam
kAEZoomIn
kBySmallIcon
kCaretPosition
kConnSuite
keyAEAngle
keyAEBaseAddr
keyAEDoScale
keyAEHiliteRange
keyAEKeyword
keyAELeadingEdge
keyAEPropData
keyAESuiteID
keyMenuID
keyMiscellaneous
keyReplyPortAttr
keySOAPStructureMetaData
keyUserNameAttr
kFAServerApp
kLaunchToGetTerminology
kNextBody
kOSIZDontOpenResourceFile
kReadExtensionTermsMask
kSOAP1999Schema
kTextServiceClass
kTSMHiliteCaretPosition
kTSMOutsideOfBody
pArcAngle
pFormula
pNewElementLoc
pScheme
pTextStyles
typeAEText
typeApplicationBundleID
typeFinderWindow
typeHIMenu
typeKernelProcessID
typeMachPort
typeMeters
typePixelMap
typeReplyPortAttr
typeSessionID
typeSMInt
typeTIFF
typeUnicodeText
Result Codes
Gestalt Constants
Revision History
Index