cpython/Mac/Lib/toolbox/AppleEvents.py

104 lines
2.6 KiB
Python

# Generated from 'D:Development:THINK C:Mac #includes:Apple #includes:AppleEvents.h'
typeBoolean = 'bool'
typeChar = 'TEXT'
typeSMInt = 'shor'
typeInteger = 'long'
typeSMFloat = 'sing'
typeFloat = 'doub'
typeLongInteger = 'long'
typeShortInteger = 'shor'
typeLongFloat = 'doub'
typeShortFloat = 'sing'
typeExtended = 'exte'
typeComp = 'comp'
typeMagnitude = 'magn'
typeAEList = 'list'
typeAERecord = 'reco'
typeAppleEvent = 'aevt'
typeTrue = 'true'
typeFalse = 'fals'
typeAlias = 'alis'
typeEnumerated = 'enum'
typeType = 'type'
typeAppParameters = 'appa'
typeProperty = 'prop'
typeFSS = 'fss '
typeKeyword = 'keyw'
typeSectionH = 'sect'
typeWildCard = '****'
typeApplSignature = 'sign'
typeSessionID = 'ssid'
typeTargetID = 'targ'
typeProcessSerialNumber = 'psn '
typeNull = 'null'
keyDirectObject = '----'
keyErrorNumber = 'errn'
keyErrorString = 'errs'
keyProcessSerialNumber = 'psn '
keyTransactionIDAttr = 'tran'
keyReturnIDAttr = 'rtid'
keyEventClassAttr = 'evcl'
keyEventIDAttr = 'evid'
keyAddressAttr = 'addr'
keyOptionalKeywordAttr = 'optk'
keyTimeoutAttr = 'timo'
keyInteractLevelAttr = 'inte'
keyEventSourceAttr = 'esrc'
keyMissedKeywordAttr = 'miss'
keyOriginalAddressAttr = 'from'
keyPreDispatch = 'phac'
keySelectProc = 'selh'
keyAERecorderCount = 'recr'
keyAEVersion = 'vers'
kCoreEventClass = 'aevt'
kAEOpenApplication = 'oapp'
kAEOpenDocuments = 'odoc'
kAEPrintDocuments = 'pdoc'
kAEQuitApplication = 'quit'
kAEAnswer = 'ansr'
kAEApplicationDied = 'obit'
kAENoReply = 0x00000001
kAEQueueReply = 0x00000002
kAEWaitReply = 0x00000003
kAENeverInteract = 0x00000010
kAECanInteract = 0x00000020
kAEAlwaysInteract = 0x00000030
kAECanSwitchLayer = 0x00000040
kAEDontReconnect = 0x00000080
kAEDontRecord = 0x00001000
kAEDontExecute = 0x00002000
kAENormalPriority = 0x00000000
kAEStartRecording = 'reca'
kAEStopRecording = 'recc'
kAENotifyStartRecording = 'rec1'
kAENotifyStopRecording = 'rec0'
kAENotifyRecording = 'recr'
kAutoGenerateReturnID = -1
kAnyTransactionID = 0
kAEDefaultTimeout = -1
kNoTimeOut = -2
kAENoDispatch = 0
kAEUseStandardDispatch = -1
errAECoercionFail = -1700
errAEDescNotFound = -1701
errAECorruptData = -1702
errAEWrongDataType = -1703
errAENotAEDesc = -1704
errAEBadListItem = -1705
errAENewerVersion = -1706
errAENotAppleEvent = -1707
errAEEventNotHandled = -1708
errAEReplyNotValid = -1709
errAEUnknownSendMode = -1710
errAEWaitCanceled = -1711
errAETimeout = -1712
errAENoUserInteraction = -1713
errAENotASpecialFunction = -1714
errAEParamMissed = -1715
errAEUnknownAddressType = -1716
errAEHandlerNotFound = -1717
errAEReplyNotArrived = -1718
errAEIllegalIndex = -1719
errAEUnknownObjectType = -1731
errAERecordingIsAlreadyOn = -1732