Mac::AppleEvents is a Macintosh toolbox interface to the Apple Event Manager.
SYNOPSIS
use Mac::AppleEvents;
Access to Inside Macintosh is essential for proper use of these functions. Explanations of terms, processes and procedures are provided there. Any attempt to use these functions without guidance can cause severe errors in your machine, including corruption of data. You have been warned.
Constants: Apple event Descriptor Types
typeBoolean
A boolean.
typeTrue
A boolean True value.
typeFalse
A boolean False value.
typeChar
A string.
typeShortInteger
A 16 bit integer.
typeInteger
typeLongInteger
A 32 bit integer.
typeMagnitude
An unsigned 32 bit integer.
typeShortFloat
A single precision floating point number.
typeFloat
typeLongFloat
A double precision floating point number.
typeExtended
An extended double precision floating point number.
typeComp
A 64 bit number.
typeAEList
An Apple event list.
typeAERecord
An Apple event record.
typeAppleEvent
An Apple event.
typeFSS
A file specification record.
typeAlias
A file alias record.
typeEnumerated
An enumeration literal (4 byte character).
typeType
An Apple event type (4 byte character).
typeAppParameters
An application launch parameter record.
typeProperty
A property keyword (4 byte character).
typeKeyword
A keyword (4 byte character).
typeSectionH
An Edition Manager section handle.
typeWildCard
An arbitrary value.
typeApplSignature
An application signature (4 byte character).
typeQDRectangle
A QuickDraw rectangle.
typeFixed
A fixed point value.
typeSessionID
A PPC Toolbox session ID.
typeTargetID
A target ID record.
typeProcessSerialNumber
A process serial number.
typeNull
No data.
Constants: Parameter and Attribute Keywords
keyDirectObject
The direct object parameter.
keyErrorNumber
Error number.
keyErrorString
Error string.
keyProcessSerialNumber
Process serial number.
keyTransactionIDAttr
Transaction ID.
keyReturnIDAttr
Return ID.
keyEventClassAttr
Event class.
keyEventIDAttr
Event ID.
keyAddressAttr
Destination address.
keyOptionalKeywordAttr
List of optional keywords.
keyTimeoutAttr
Timeout limit.
keyInteractLevelAttr
Interaction level.
keyEventSourceAttr
Event source address.
keyMissedKeywordAttr
List of mandatory keywords not used.
keyOriginalAddressAttr
Original source address.
keyPreDispatch
Install handler before dispatching.
keySelectProc
Enable/Disable OSL.
keyAERecorderCount
Number of processes recording AppleEvents.
keyAEVersion
Apple Event Manager version.
Constants: Core Apple event Suite
kCoreEventClass
Core Suite Event class.
kAEOpenApplication
Open application without documents.
kAEOpenDocuments
Open documents.
kAEPrintDocuments
Print documents.
kAEQuitApplication
Quit application.
kAEAnswer
Apple event answer event.
kAEApplicationDied
Launched application has ended.
Product's homepage
Requirements:
· Perl