typeWildCard
Type Definitions
AEAddressDesc address descriptor record used in AEGetParamDesc, etc.
AEDesc fundamental structure from which Apple Events are
con structed
AEDescList list of descriptor records
AEInteractAllowed type used to specify desired level of user interaction
AEKeyDesc keyword-specified descriptor record
AERecord list of keyword-specified descriptor records
AppleEvent list of attributes and parameters necessary for an Apple
event
typedef unsigned char AEArrayType;
typedef unsigned long AEEventClass; event class for a high-level event
typedef unsigned long AEEventID; event ID for a high-level event
typedef unsigned char AEEventSource;
typedef unsigned long AEKeyword; keyword for a descriptor record
typedef long AESendMode; type of parameter to AESend
typedef short AESendPriority; type of priority param to AESend
typedef ResType DescType; descriptor type
typedef ProcPtr EventFilterProcPtr; pointer to an app's filter
procedure
typedef ProcPtr EventHandlerProcPtr; pointer to an Apple Event
handler routine
typedef ProcPtr IdleProcPtr; pointer to an app's idle function
Apple event descriptor types
typeBoolean 'bool' Boolean value
typeChar 'TEXT' unterminated string
typeSMInt 'shor' 16-bit integer
typeInteger 'long' 32-bit integer
typeSMFloat 'sing' SANE single
typeFloat 'doub' SANE double
typeLongInteger 'long' 32-bit integer
typeShortInteger 'shor' 16-bit integer
typeLongFloat 'doub' SANE double
typeShortFloat 'sing' SANE single
typeExtended 'exte' SANE extended
typeComp 'comp' SANE comp
typeMagnitude 'magn' unsigned 32-bit integer
typeAEList 'list' list of descriptor records
typeAERecord 'reco' list of keyword-specified descriptor records
typeAppleEvent 'aevt' Apple event record
typeTrue 'true' TRUE Boolean value
typeFalse 'fals' FALSE Boolean value
typeAlias 'alis' alias record
typeEnumerated 'enum' enumerated data
typeType 'type' Four-character code for event class or event ID
typeAppParameters 'appa' Process Manager launch parameters
typeProperty 'prop' Apple event property
typeFSS 'fss ' file system specification
typeKeyword 'keyw' Apple event keyword
typeSectionH 'sect' handle to a section record
typeWildCard '****' matches any type
typeApplSignature 'sign' application signature
typeSessionID 'ssid' session ID
typeTargetID 'targ' target ID record
typeProcessSerialNumber 'psn ' process serial number
typeNull 'null' NULL or nonexistent data
typeAEList 'list' list of descriptor records
typeAERecord 'reco' list of keyword-specified descriptor records
typeProperty 'prop' Apple event property
typeKeyword 'keyw' Apple event keyword
Keywords for Apple event parameters
keyDirectObject '----' direct parameter
keyErrorNumber 'errn' error number parameter
keyErrorString 'errs' error string parameter
keyProcessSerialNumber 'psn ' process serial number param
Keywords for Apple event attributes
keyTransactionIDAttr 'tran' transaction ID
keyReturnIDAttr 'rtid' return ID
keyEventClassAttr 'evcl' event class
keyEventIDAttr 'evid' event ID
keyAddressAttr 'addr' target application
keyOptionalKeywordAttr 'optk' list of optional
Parameters for the Apple event
keyTimeoutAttr 'timo' number of ticks the client will wait
keyInteractLevelAttr 'inte' settings to allow Apple Event Mgr to bring server
to foreground
keyEventSourceAttr 'esrc' source application
keyMissedKeywordAttr 'miss' first required parameter remaining in an Apple
event
Keywords for special handlers
keyPreDispatch 'phac' identifies a handler routine that is called
immediately before the Apple Event Manager
dispatches an Apple event
keySelectProc 'selh' another selector
Event class
kCoreEventClass 'aevt' event class for core Apple events event IDs
kAEOpenApplication 'oapp' event ID for Open Application event
kAEOpenDocuments 'odoc' event ID for Open Documents event
kAEPrintDocuments 'pdoc' event ID for Print Documents event
kAEQuitApplication 'quit' event ID for Quit Application event
kAEAnswer 'ansr' event ID for Apple event replies
kAECreatorType 'crea'
kAEQuitAll 'quia'
kAEShutDown 'shut'
kAERestart 'rest'
kAEApplicationDied 'obit' event ID for Application Died event
Constants for setting the sendMode parameter of AESend and for
thekeyInteractLevelAttr attribute
kAENoReply 0x00000001 client doesn't want reply
kAEQueueReply 0x00000002 client wants server to reply in event queue
kAEWaitReply 0x00000003 client wants a reply and will give up
processor
kAENeverInteract 0x00000010 server application should not interact with
user for this Apple event
kAECanInteract 0x00000020 server may interact with user for this Apple
event to supply information
kAEAlwaysInteract 0x00000030 server may interact with user for this Apple
event even if no information is required
kAECanSwitchLayer 0x00000040 server should come directly to foreground
when appropriate
kAEDontReconnect 0x00000080 don't reconnect if there is a PPC
sessClosedErr
kAEWantReceipt nReturnReceipt client wants return receipt
Constants for the sendPriority parameter of AESend
kAENormalPriority 0x00000000 put event at the back of event queue
kAEHighPriority nAttnMsg put event at the front of the event queue
constant for the returnID parameter of AECreateAppleEvent
kAutoGenerateReturnID -1 tells Apple Event Manager to generate a
unique return ID
Constant for transaction IDs
kAnyTransactionID 0 the Apple event is not part of a transaction
Constants for timeout durations
kAEDefaultTimeout -1 use default timeout value
kNoTimeOut -2 never time out
Constants for the dispatcher parameter of AEResumeTheCurrentEvent
kAENoDispatch 0 don't redispatch the Apple event
kAEUseStandardDispatch -1 redispatch the Apple event by using its entry in
the Apple event dispatch table
Constants for AEInteractAllowed
kAEInteractWithSelf 0
kAEInteractWithLocal 1
kAEInteractWithAll 2
Constants for AEEventSource
kAEUnknownSource 0 source of Apple event unknown
kAEDirectCall 1 a direct call tha bypassed the PPC Toolbox
kAESameProcess 2 target application is also the source application
kAELocalProcess 3 source application is another process on the same
computer at the target application
kAERemoteProcess 4 source application is a process on a remote
computer on the network
Constants for AEArrayType
kAEDataArray 0
kAEPackedArray 1
kAEHandleArray 2
kAEDescArray 3
kAEKeyDescArray 4