PageRenderTime 49ms CodeModel.GetById 15ms app.highlight 29ms RepoModel.GetById 1ms app.codeStats 0ms

/Lib/plat-mac/Carbon/OSAconst.py

http://unladen-swallow.googlecode.com/
Python | 133 lines | 131 code | 1 blank | 1 comment | 0 complexity | a74c973254de33cfa4939445c36bf9c9 MD5 | raw file
  1# Generated from 'OSA.h'
  2
  3def FOUR_CHAR_CODE(x): return x
  4from Carbon.AppleEvents import *
  5kAEUseStandardDispatch = -1
  6kOSAComponentType = FOUR_CHAR_CODE('osa ')
  7kOSAGenericScriptingComponentSubtype = FOUR_CHAR_CODE('scpt')
  8kOSAFileType = FOUR_CHAR_CODE('osas')
  9kOSASuite = FOUR_CHAR_CODE('ascr')
 10kOSARecordedText = FOUR_CHAR_CODE('recd')
 11kOSAScriptIsModified = FOUR_CHAR_CODE('modi')
 12kOSAScriptIsTypeCompiledScript = FOUR_CHAR_CODE('cscr')
 13kOSAScriptIsTypeScriptValue = FOUR_CHAR_CODE('valu')
 14kOSAScriptIsTypeScriptContext = FOUR_CHAR_CODE('cntx')
 15kOSAScriptBestType = FOUR_CHAR_CODE('best')
 16kOSACanGetSource = FOUR_CHAR_CODE('gsrc')
 17typeOSADialectInfo = FOUR_CHAR_CODE('difo')
 18keyOSADialectName = FOUR_CHAR_CODE('dnam')
 19keyOSADialectCode = FOUR_CHAR_CODE('dcod')
 20keyOSADialectLangCode = FOUR_CHAR_CODE('dlcd')
 21keyOSADialectScriptCode = FOUR_CHAR_CODE('dscd')
 22kOSANullScript = 0L
 23kOSANullMode = 0
 24kOSAModeNull = 0
 25kOSASupportsCompiling = 0x0002
 26kOSASupportsGetSource = 0x0004
 27kOSASupportsAECoercion = 0x0008
 28kOSASupportsAESending = 0x0010
 29kOSASupportsRecording = 0x0020
 30kOSASupportsConvenience = 0x0040
 31kOSASupportsDialects = 0x0080
 32kOSASupportsEventHandling = 0x0100
 33kOSASelectLoad = 0x0001
 34kOSASelectStore = 0x0002
 35kOSASelectExecute = 0x0003
 36kOSASelectDisplay = 0x0004
 37kOSASelectScriptError = 0x0005
 38kOSASelectDispose = 0x0006
 39kOSASelectSetScriptInfo = 0x0007
 40kOSASelectGetScriptInfo = 0x0008
 41kOSASelectSetActiveProc = 0x0009
 42kOSASelectGetActiveProc = 0x000A
 43kOSASelectScriptingComponentName = 0x0102
 44kOSASelectCompile = 0x0103
 45kOSASelectCopyID = 0x0104
 46kOSASelectCopyScript = 0x0105
 47kOSASelectGetSource = 0x0201
 48kOSASelectCoerceFromDesc = 0x0301
 49kOSASelectCoerceToDesc = 0x0302
 50kOSASelectSetSendProc = 0x0401
 51kOSASelectGetSendProc = 0x0402
 52kOSASelectSetCreateProc = 0x0403
 53kOSASelectGetCreateProc = 0x0404
 54kOSASelectSetDefaultTarget = 0x0405
 55kOSASelectStartRecording = 0x0501
 56kOSASelectStopRecording = 0x0502
 57kOSASelectLoadExecute = 0x0601
 58kOSASelectCompileExecute = 0x0602
 59kOSASelectDoScript = 0x0603
 60kOSASelectSetCurrentDialect = 0x0701
 61kOSASelectGetCurrentDialect = 0x0702
 62kOSASelectAvailableDialects = 0x0703
 63kOSASelectGetDialectInfo = 0x0704
 64kOSASelectAvailableDialectCodeList = 0x0705
 65kOSASelectSetResumeDispatchProc = 0x0801
 66kOSASelectGetResumeDispatchProc = 0x0802
 67kOSASelectExecuteEvent = 0x0803
 68kOSASelectDoEvent = 0x0804
 69kOSASelectMakeContext = 0x0805
 70kOSADebuggerCreateSession = 0x0901
 71kOSADebuggerGetSessionState = 0x0902
 72kOSADebuggerSessionStep = 0x0903
 73kOSADebuggerDisposeSession = 0x0904
 74kOSADebuggerGetStatementRanges = 0x0905
 75kOSADebuggerGetBreakpoint = 0x0910
 76kOSADebuggerSetBreakpoint = 0x0911
 77kOSADebuggerGetDefaultBreakpoint = 0x0912
 78kOSADebuggerGetCurrentCallFrame = 0x0906
 79kOSADebuggerGetCallFrameState = 0x0907
 80kOSADebuggerGetVariable = 0x0908
 81kOSADebuggerSetVariable = 0x0909
 82kOSADebuggerGetPreviousCallFrame = 0x090A
 83kOSADebuggerDisposeCallFrame = 0x090B
 84kOSADebuggerCountVariables = 0x090C
 85kOSASelectComponentSpecificStart = 0x1001
 86kOSAModePreventGetSource = 0x00000001
 87kOSAModeNeverInteract = kAENeverInteract
 88kOSAModeCanInteract = kAECanInteract
 89kOSAModeAlwaysInteract = kAEAlwaysInteract
 90kOSAModeDontReconnect = kAEDontReconnect
 91kOSAModeCantSwitchLayer = 0x00000040
 92kOSAModeDoRecord = 0x00001000
 93kOSAModeCompileIntoContext = 0x00000002
 94kOSAModeAugmentContext = 0x00000004
 95kOSAModeDisplayForHumans = 0x00000008
 96kOSAModeDontStoreParent = 0x00010000
 97kOSAModeDispatchToDirectObject = 0x00020000
 98kOSAModeDontGetDataForArguments = 0x00040000
 99kOSAScriptResourceType = kOSAGenericScriptingComponentSubtype
100typeOSAGenericStorage = kOSAScriptResourceType
101kOSAErrorNumber = keyErrorNumber
102kOSAErrorMessage = keyErrorString
103kOSAErrorBriefMessage = FOUR_CHAR_CODE('errb')
104kOSAErrorApp = FOUR_CHAR_CODE('erap')
105kOSAErrorPartialResult = FOUR_CHAR_CODE('ptlr')
106kOSAErrorOffendingObject = FOUR_CHAR_CODE('erob')
107kOSAErrorExpectedType = FOUR_CHAR_CODE('errt')
108kOSAErrorRange = FOUR_CHAR_CODE('erng')
109typeOSAErrorRange = FOUR_CHAR_CODE('erng')
110keyOSASourceStart = FOUR_CHAR_CODE('srcs')
111keyOSASourceEnd = FOUR_CHAR_CODE('srce')
112kOSAUseStandardDispatch = kAEUseStandardDispatch
113kOSANoDispatch = kAENoDispatch
114kOSADontUsePhac = 0x0001
115eNotStarted = 0
116eRunnable = 1
117eRunning = 2
118eStopped = 3
119eTerminated = 4
120eStepOver = 0
121eStepIn = 1
122eStepOut = 2
123eRun = 3
124eLocal = 0
125eGlobal = 1
126eProperties = 2
127keyProgramState = FOUR_CHAR_CODE('dsps')
128typeStatementRange = FOUR_CHAR_CODE('srng')
129keyProcedureName = FOUR_CHAR_CODE('dfnm')
130keyStatementRange = FOUR_CHAR_CODE('dfsr')
131keyLocalsNames = FOUR_CHAR_CODE('dfln')
132keyGlobalsNames = FOUR_CHAR_CODE('dfgn')
133keyParamsNames = FOUR_CHAR_CODE('dfpn')