26 #ifndef __APPLEEVENTS__
34 #ifndef __AEINTERACTION__
38 #ifndef __COMPONENTS__
59 #if PRAGMA_STRUCT_ALIGN
60 #pragma options align = mac68k
61 #elif PRAGMA_STRUCT_PACKPUSH
63 #elif PRAGMA_STRUCT_PACK
76 kOSAComponentType = FOUR_CHAR_CODE(
'osa ')
82 kOSAGenericScriptingComponentSubtype = FOUR_CHAR_CODE(
'scpt')
89 kOSAFileType = FOUR_CHAR_CODE(
'osas')
99 kOSASuite = FOUR_CHAR_CODE(
'ascr')
105 kOSARecordedText = FOUR_CHAR_CODE(
'recd')
112 kOSAScriptIsModified = FOUR_CHAR_CODE(
'modi')
119 kOSAScriptIsTypeCompiledScript = FOUR_CHAR_CODE(
'cscr')
126 kOSAScriptIsTypeScriptValue = FOUR_CHAR_CODE(
'valu')
133 kOSAScriptIsTypeScriptContext = FOUR_CHAR_CODE(
'cntx')
140 kOSAScriptBestType = FOUR_CHAR_CODE(
'best')
151 kOSACanGetSource = FOUR_CHAR_CODE(
'gsrc')
156 typeOSADialectInfo = FOUR_CHAR_CODE(
'difo'),
163 typedef ComponentResult OSAError;
187 AEEventClass theAEEventClass, AEEventID theAEEventID,
188 const AEAddressDesc *target,
short returnID,
long transactionID,
191 OSASendProcPtr)(
const AppleEvent *theAppleEvent,
193 AESendPriority sendPriority,
194 long timeOutInTicks, AEIdleUPP idleProc,
195 AEFilterUPP filterProc,
long refCon);
196 typedef STACK_UPP_TYPE(OSACreateAppleEventProcPtr) OSACreateAppleEventUPP;
206 OSACreateAppleEventUPP
208 #if !OPAQUE_UPP_TYPES
211 uppOSACreateAppleEventProcInfo = 0x000FEFE0
215 inline OSACreateAppleEventUPP
219 (ProcPtr)(userRoutine), uppOSACreateAppleEventProcInfo,
220 GetCurrentArchitecture());
223 #define NewOSACreateAppleEventUPP(userRoutine) \
224 (OSACreateAppleEventUPP) NewRoutineDescriptor( \
225 (ProcPtr)(userRoutine), uppOSACreateAppleEventProcInfo, \
226 GetCurrentArchitecture())
240 #if !OPAQUE_UPP_TYPES
243 uppOSASendProcInfo = 0x003FEFE0
250 (ProcPtr)(userRoutine), uppOSASendProcInfo, GetCurrentArchitecture());
253 #define NewOSASendUPP(userRoutine) \
254 (OSASendUPP) NewRoutineDescriptor( \
255 (ProcPtr)(userRoutine), uppOSASendProcInfo, GetCurrentArchitecture())
269 #if !OPAQUE_UPP_TYPES
276 #define DisposeOSACreateAppleEventUPP(userUPP) DisposeRoutineDescriptor(userUPP)
290 #if !OPAQUE_UPP_TYPES
297 #define DisposeOSASendUPP(userUPP) DisposeRoutineDescriptor(userUPP)
311 AEEventID theAEEventID,
314 long refCon, OSACreateAppleEventUPP userUPP);
315 #if !OPAQUE_UPP_TYPES
318 AEEventID theAEEventID,
320 short returnID,
long transactionID,
322 OSACreateAppleEventUPP userUPP)
324 return (OSErr)CALL_SEVEN_PARAMETER_UPP(
325 userUPP, uppOSACreateAppleEventProcInfo, theAEEventClass, theAEEventID,
326 target, returnID, transactionID, result, refCon);
329 #define InvokeOSACreateAppleEventUPP(theAEEventClass, theAEEventID, target, \
330 returnID, transactionID, result, refCon, \
332 (OSErr) CALL_SEVEN_PARAMETER_UPP((userUPP), uppOSACreateAppleEventProcInfo, \
333 (theAEEventClass), (theAEEventID), \
334 (target), (returnID), (transactionID), \
349 AESendMode sendMode, AESendPriority sendPriority,
350 long timeOutInTicks, AEIdleUPP idleProc,
351 AEFilterUPP filterProc,
long refCon, OSASendUPP userUPP);
352 #if !OPAQUE_UPP_TYPES
356 AESendPriority sendPriority,
long timeOutInTicks,
357 AEIdleUPP idleProc, AEFilterUPP filterProc,
358 long refCon, OSASendUPP userUPP)
360 return (OSErr)CALL_EIGHT_PARAMETER_UPP(
361 userUPP, uppOSASendProcInfo, theAppleEvent,
reply, sendMode, sendPriority,
362 timeOutInTicks, idleProc, filterProc, refCon);
365 #define InvokeOSASendUPP(theAppleEvent, reply, sendMode, sendPriority, \
366 timeOutInTicks, idleProc, filterProc, refCon, \
368 (OSErr) CALL_EIGHT_PARAMETER_UPP( \
369 (userUPP), uppOSASendProcInfo, (theAppleEvent), (reply), (sendMode), \
370 (sendPriority), (timeOutInTicks), (idleProc), (filterProc), (refCon))
374 #if CALL_NOT_IN_CARBON || OLDROUTINENAMES
376 #define NewOSACreateAppleEventProc(userRoutine) \
377 NewOSACreateAppleEventUPP(userRoutine)
378 #define NewOSASendProc(userRoutine) NewOSASendUPP(userRoutine)
379 #define CallOSACreateAppleEventProc(userRoutine, theAEEventClass, \
380 theAEEventID, target, returnID, \
381 transactionID, result, refCon) \
382 InvokeOSACreateAppleEventUPP(theAEEventClass, theAEEventID, target, \
383 returnID, transactionID, result, refCon, \
385 #define CallOSASendProc(userRoutine, theAppleEvent, reply, sendMode, \
386 sendPriority, timeOutInTicks, idleProc, filterProc, \
388 InvokeOSASendUPP(theAppleEvent, reply, sendMode, sendPriority, \
389 timeOutInTicks, idleProc, filterProc, refCon, userRoutine)
406 kOSASupportsCompiling = 0x0002,
407 kOSASupportsGetSource = 0x0004,
408 kOSASupportsAECoercion = 0x0008,
409 kOSASupportsAESending = 0x0010,
410 kOSASupportsRecording = 0x0020,
411 kOSASupportsConvenience = 0x0040,
412 kOSASupportsDialects = 0x0080,
413 kOSASupportsEventHandling = 0x0100
419 kOSASelectLoad = 0x0001,
420 kOSASelectStore = 0x0002,
421 kOSASelectExecute = 0x0003,
422 kOSASelectDisplay = 0x0004,
423 kOSASelectScriptError = 0x0005,
424 kOSASelectDispose = 0x0006,
425 kOSASelectSetScriptInfo = 0x0007,
426 kOSASelectGetScriptInfo = 0x0008,
427 kOSASelectSetActiveProc = 0x0009,
428 kOSASelectGetActiveProc = 0x000A
434 kOSASelectScriptingComponentName = 0x0102,
435 kOSASelectCompile = 0x0103,
436 kOSASelectCopyID = 0x0104
441 kOSASelectCopyScript = 0x0105
447 kOSASelectGetSource = 0x0201
453 kOSASelectCoerceFromDesc = 0x0301,
454 kOSASelectCoerceToDesc = 0x0302
460 kOSASelectSetSendProc = 0x0401,
461 kOSASelectGetSendProc = 0x0402,
462 kOSASelectSetCreateProc = 0x0403,
463 kOSASelectGetCreateProc = 0x0404,
464 kOSASelectSetDefaultTarget = 0x0405
470 kOSASelectStartRecording = 0x0501,
471 kOSASelectStopRecording = 0x0502
477 kOSASelectLoadExecute = 0x0601,
478 kOSASelectCompileExecute = 0x0602,
479 kOSASelectDoScript = 0x0603
485 kOSASelectSetCurrentDialect = 0x0701,
486 kOSASelectGetCurrentDialect = 0x0702,
487 kOSASelectAvailableDialects = 0x0703,
488 kOSASelectGetDialectInfo = 0x0704,
489 kOSASelectAvailableDialectCodeList = 0x0705
495 kOSASelectSetResumeDispatchProc = 0x0801,
496 kOSASelectGetResumeDispatchProc = 0x0802,
497 kOSASelectExecuteEvent = 0x0803,
498 kOSASelectDoEvent = 0x0804,
499 kOSASelectMakeContext = 0x0805
505 kOSADebuggerCreateSession = 0x0901,
506 kOSADebuggerGetSessionState = 0x0902,
507 kOSADebuggerSessionStep = 0x0903,
508 kOSADebuggerDisposeSession = 0x0904,
509 kOSADebuggerGetStatementRanges = 0x0905,
510 kOSADebuggerGetBreakpoint = 0x0910,
511 kOSADebuggerSetBreakpoint = 0x0911,
512 kOSADebuggerGetDefaultBreakpoint = 0x0912,
513 kOSADebuggerGetCurrentCallFrame = 0x0906,
514 kOSADebuggerGetCallFrameState = 0x0907,
515 kOSADebuggerGetVariable = 0x0908,
516 kOSADebuggerSetVariable = 0x0909,
517 kOSADebuggerGetPreviousCallFrame = 0x090A,
518 kOSADebuggerDisposeCallFrame = 0x090B,
519 kOSADebuggerCountVariables = 0x090C
526 kOSASelectComponentSpecificStart = 0x1001
546 kOSAModePreventGetSource = 0x00000001
558 kOSAModeNeverInteract = kAENeverInteract,
559 kOSAModeCanInteract = kAECanInteract,
560 kOSAModeAlwaysInteract = kAEAlwaysInteract,
561 kOSAModeDontReconnect = kAEDontReconnect
577 kOSAModeCantSwitchLayer = 0x00000040
592 kOSAModeDoRecord = 0x00001000
604 kOSAModeCompileIntoContext = 0x00000002
618 kOSAModeAugmentContext = 0x00000004
629 kOSAModeDisplayForHumans = 0x00000008
640 kOSAModeDontStoreParent = 0x00010000
653 kOSAModeDispatchToDirectObject = 0x00020000
662 kOSAModeDontGetDataForArguments = 0x00040000
679 kOSAScriptResourceType = kOSAGenericScriptingComponentSubtype
688 typeOSAGenericStorage = kOSAScriptResourceType
701 long modeFlags,
OSAID *resultingScriptID);
728 DescType desiredType,
long modeFlags,
AEDesc *resultingScriptData);
754 OSAID contextID,
long modeFlags,
OSAID *resultingScriptValueID);
853 kOSAErrorNumber = keyErrorNumber
867 kOSAErrorMessage = keyErrorString
882 kOSAErrorBriefMessage = FOUR_CHAR_CODE(
'errb')
896 kOSAErrorApp = FOUR_CHAR_CODE(
'erap')
909 kOSAErrorPartialResult = FOUR_CHAR_CODE(
'ptlr')
922 kOSAErrorOffendingObject = FOUR_CHAR_CODE(
'erob')
932 kOSAErrorExpectedType = FOUR_CHAR_CODE(
'errt')
944 kOSAErrorRange = FOUR_CHAR_CODE(
'erng')
954 typeOSAErrorRange = FOUR_CHAR_CODE(
'erng')
961 keyOSASourceStart = FOUR_CHAR_CODE(
'srcs')
968 keyOSASourceEnd = FOUR_CHAR_CODE(
'srce')
1003 OSType selector,
long value);
1025 OSType selector,
long *result);
1054 #if !OPAQUE_UPP_TYPES
1057 uppOSAActiveProcInfo = 0x000000E0
1063 (ProcPtr)(userRoutine), uppOSAActiveProcInfo, GetCurrentArchitecture());
1066 #define NewOSAActiveUPP(userRoutine) \
1067 (OSAActiveUPP) NewRoutineDescriptor( \
1068 (ProcPtr)(userRoutine), uppOSAActiveProcInfo, GetCurrentArchitecture())
1082 #if !OPAQUE_UPP_TYPES
1089 #define DisposeOSAActiveUPP(userUPP) DisposeRoutineDescriptor(userUPP)
1103 #if !OPAQUE_UPP_TYPES
1107 return (OSErr)CALL_ONE_PARAMETER_UPP(userUPP, uppOSAActiveProcInfo, refCon);
1110 #define InvokeOSAActiveUPP(refCon, userUPP) \
1111 (OSErr) CALL_ONE_PARAMETER_UPP((userUPP), uppOSAActiveProcInfo, (refCon))
1115 #if CALL_NOT_IN_CARBON || OLDROUTINENAMES
1117 #define NewOSAActiveProc(userRoutine) NewOSAActiveUPP(userRoutine)
1118 #define CallOSAActiveProc(userRoutine, refCon) \
1119 InvokeOSAActiveUPP(refCon, userRoutine)
1177 AEDesc *resultingScriptingComponentName);
1201 long modeFlags,
OSAID *previousAndResultingScriptID);
1253 #if CALL_NOT_IN_CARBON
1322 const AEDesc *scriptData,
long modeFlags,
1323 OSAID *resultingScriptID);
1428 OSACreateAppleEventUPP createProc,
long refCon);
1448 OSACreateAppleEventUPP *createProc,
long *refCon);
1497 OSAID *compiledScriptToModifyID);
1550 OSAID contextID,
long modeFlags,
OSAID *resultingScriptValueID);
1586 const AEDesc *sourceData,
OSAID contextID,
long modeFlags,
1587 OSAID *resultingScriptValueID);
1694 short *resultingDialectCode);
1713 AEDesc *resultingDialectInfoList);
1737 OSType selector,
AEDesc *resultingDialectInfo);
1763 AEDesc *resultingDialectCodeList);
1804 AEEventHandlerUPP resumeDispatchProc,
long refCon);
1822 kOSAUseStandardDispatch = kAEUseStandardDispatch
1837 kOSANoDispatch = kAENoDispatch
1851 kOSADontUsePhac = 0x0001
1873 AEEventHandlerUPP *resumeDispatchProc,
long *refCon);
1895 long modeFlags,
OSAID *resultingScriptValueID);
1976 OSAID parentContext,
OSAID *resultingContextID);
1998 typedef OSAID OSADebugCallFrameRef;
2012 typedef UInt32 OSADebugStepKind;
2021 typedef UInt32 OSALocalOrGlobal;
2034 keyProgramState = FOUR_CHAR_CODE(
'dsps')
2042 unsigned long startPos;
2043 unsigned long endPos;
2048 typeStatementRange = FOUR_CHAR_CODE(
'srng')
2053 keyProcedureName = FOUR_CHAR_CODE(
'dfnm'),
2136 OSAID *outBreakpoint);
2149 OSAID inBreakpoint);
2162 OSAID *outBreakpoint);
2178 OSADebugCallFrameRef *outCallFrame);
2190 OSADebugCallFrameRef inCallFrame,
2203 OSADebugCallFrameRef inCallFrame,
2204 const AEDesc *inVariableName,
OSAID *outVariable);
2216 OSADebugCallFrameRef inCallFrame,
2229 OSADebugCallFrameRef inCurrentFrame,
2230 OSADebugCallFrameRef *outPrevFrame);
2242 OSADebugCallFrameRef inCallFrame);
2255 OSADebugCallFrameRef inCallFrame,
2256 OSALocalOrGlobal inWhichSet,
long *outVariableCount);
2258 #if PRAGMA_STRUCT_ALIGN
2259 #pragma options align = reset
2260 #elif PRAGMA_STRUCT_PACKPUSH
2262 #elif PRAGMA_STRUCT_PACK
2266 #ifdef PRAGMA_IMPORT_OFF
2269 #pragma import reset
ResType DescType
Definition: AEDataModel.h:165
AppleEvent functions that deal with Events and interacting with user.
Object Support Library Interfaces.
AppleEvent Package Interfaces.
Component Manager Interfaces.
void DisposeRoutineDescriptor(UniversalProcPtr theUPP)
#define STACK_UPP_TYPE(name)
Definition: MixedMode.h:734
UniversalProcPtr NewRoutineDescriptor(ProcPtr theProc, ProcInfoType theProcInfo, ISAType theISA)
#define NewOSACreateAppleEventUPP(userRoutine)
Definition: OSA.h:223
OSAError OSAGetDialectInfo(ComponentInstance scriptingComponent, short dialectCode, OSType selector, AEDesc *resultingDialectInfo)
unsigned long OSAID
Definition: OSA.h:165
OSAError OSADebuggerGetStatementRanges(ComponentInstance scriptingComponent, OSADebugSessionRef inSession, AEDescList *outStatementRangeArray)
OSAError OSADebuggerGetCallFrameState(ComponentInstance scriptingComponent, OSADebugCallFrameRef inCallFrame, AERecord *outState)
OSAError OSAScriptError(ComponentInstance scriptingComponent, OSType selector, DescType desiredType, AEDesc *resultingErrorDescription)
OSAError OSAExecute(ComponentInstance scriptingComponent, OSAID compiledScriptID, OSAID contextID, long modeFlags, OSAID *resultingScriptValueID)
OSAError OSASetScriptInfo(ComponentInstance scriptingComponent, OSAID scriptID, OSType selector, long value)
OSAError OSAStartRecording(ComponentInstance scriptingComponent, OSAID *compiledScriptToModifyID)
OSAError OSADispose(ComponentInstance scriptingComponent, OSAID scriptID)
OSAError OSAStopRecording(ComponentInstance scriptingComponent, OSAID compiledScriptID)
OSAError OSADebuggerGetVariable(ComponentInstance scriptingComponent, OSADebugCallFrameRef inCallFrame, const AEDesc *inVariableName, OSAID *outVariable)
OSAError OSAAvailableDialectCodeList(ComponentInstance scriptingComponent, AEDesc *resultingDialectCodeList)
OSAError OSAGetScriptInfo(ComponentInstance scriptingComponent, OSAID scriptID, OSType selector, long *result)
OSAID OSADebugSessionRef
Definition: OSA.h:1997
OSAError OSAGetCreateProc(ComponentInstance scriptingComponent, OSACreateAppleEventUPP *createProc, long *refCon)
@ kOSAModeNull
Definition: OSA.h:179
OSAError OSALoad(ComponentInstance scriptingComponent, const AEDesc *scriptData, long modeFlags, OSAID *resultingScriptID)
void DisposeOSACreateAppleEventUPP(OSACreateAppleEventUPP userUPP)
OSAError OSACoerceFromDesc(ComponentInstance scriptingComponent, const AEDesc *scriptData, long modeFlags, OSAID *resultingScriptID)
OSAError OSACompileExecute(ComponentInstance scriptingComponent, const AEDesc *sourceData, OSAID contextID, long modeFlags, OSAID *resultingScriptValueID)
OSAError OSASetDefaultTarget(ComponentInstance scriptingComponent, const AEAddressDesc *target)
OSAError OSASetSendProc(ComponentInstance scriptingComponent, OSASendUPP sendProc, long refCon)
@ keyOSADialectLangCode
Definition: OSA.h:159
@ keyOSADialectScriptCode
Definition: OSA.h:160
@ keyOSADialectCode
Definition: OSA.h:158
@ keyOSADialectName
Definition: OSA.h:157
OSAError OSADoScript(ComponentInstance scriptingComponent, const AEDesc *sourceData, OSAID contextID, DescType desiredType, long modeFlags, AEDesc *resultingText)
OSAError OSADebuggerGetSessionState(ComponentInstance scriptingComponent, OSADebugSessionRef inSession, AERecord *outState)
OSAError OSASetActiveProc(ComponentInstance scriptingComponent, OSAActiveUPP activeProc, long refCon)
OSAError OSACompile(ComponentInstance scriptingComponent, const AEDesc *sourceData, long modeFlags, OSAID *previousAndResultingScriptID)
OSAError OSADebuggerSetBreakpoint(ComponentInstance scriptingComponent, OSADebugSessionRef inSession, UInt32 inSrcOffset, OSAID inBreakpoint)
OSErr InvokeOSASendUPP(const AppleEvent *theAppleEvent, AppleEvent *reply, AESendMode sendMode, AESendPriority sendPriority, long timeOutInTicks, AEIdleUPP idleProc, AEFilterUPP filterProc, long refCon, OSASendUPP userUPP)
OSAError OSADoEvent(ComponentInstance scriptingComponent, const AppleEvent *theAppleEvent, OSAID contextID, long modeFlags, AppleEvent *reply)
OSAError OSACopyID(ComponentInstance scriptingComponent, OSAID fromID, OSAID *toID)
OSAError OSADebuggerGetCurrentCallFrame(ComponentInstance scriptingComponent, OSADebugSessionRef inSession, OSADebugCallFrameRef *outCallFrame)
OSAError OSASetCreateProc(ComponentInstance scriptingComponent, OSACreateAppleEventUPP createProc, long refCon)
#define NewOSASendUPP(userRoutine)
Definition: OSA.h:253
OSAError OSADebuggerCreateSession(ComponentInstance scriptingComponent, OSAID inScript, OSAID inContext, OSADebugSessionRef *outSession)
OSAError OSAMakeContext(ComponentInstance scriptingComponent, const AEDesc *contextName, OSAID parentContext, OSAID *resultingContextID)
OSAError OSAExecuteEvent(ComponentInstance scriptingComponent, const AppleEvent *theAppleEvent, OSAID contextID, long modeFlags, OSAID *resultingScriptValueID)
OSAError OSADebuggerGetPreviousCallFrame(ComponentInstance scriptingComponent, OSADebugCallFrameRef inCurrentFrame, OSADebugCallFrameRef *outPrevFrame)
OSAError OSADisplay(ComponentInstance scriptingComponent, OSAID scriptValueID, DescType desiredType, long modeFlags, AEDesc *resultingText)
OSAError OSAGetCurrentDialect(ComponentInstance scriptingComponent, short *resultingDialectCode)
OSAError OSADebuggerGetBreakpoint(ComponentInstance scriptingComponent, OSADebugSessionRef inSession, UInt32 inSrcOffset, OSAID *outBreakpoint)
void DisposeOSAActiveUPP(OSAActiveUPP userUPP)
OSErr InvokeOSACreateAppleEventUPP(AEEventClass theAEEventClass, AEEventID theAEEventID, const AEAddressDesc *target, short returnID, long transactionID, AppleEvent *result, long refCon, OSACreateAppleEventUPP userUPP)
OSAError OSAGetResumeDispatchProc(ComponentInstance scriptingComponent, AEEventHandlerUPP *resumeDispatchProc, long *refCon)
OSAError OSALoadExecute(ComponentInstance scriptingComponent, const AEDesc *scriptData, OSAID contextID, long modeFlags, OSAID *resultingScriptValueID)
OSAError OSADebuggerCountVariables(ComponentInstance scriptingComponent, OSADebugSessionRef inSession, OSADebugCallFrameRef inCallFrame, OSALocalOrGlobal inWhichSet, long *outVariableCount)
OSAError OSAScriptingComponentName(ComponentInstance scriptingComponent, AEDesc *resultingScriptingComponentName)
OSAError OSASetResumeDispatchProc(ComponentInstance scriptingComponent, AEEventHandlerUPP resumeDispatchProc, long refCon)
OSAError OSADebuggerSessionStep(ComponentInstance scriptingComponent, OSADebugSessionRef inSession, OSADebugStepKind inKind)
typedef CALLBACK_API(OSErr, OSACreateAppleEventProcPtr)(AEEventClass theAEEventClass
UInt32 OSAProgramState
Definition: OSA.h:2002
OSAError OSAGetSendProc(ComponentInstance scriptingComponent, OSASendUPP *sendProc, long *refCon)
OSAError OSACoerceToDesc(ComponentInstance scriptingComponent, OSAID scriptID, DescType desiredType, long modeFlags, AEDesc *result)
OSAError OSADebuggerGetDefaultBreakpoint(ComponentInstance scriptingComponent, OSADebugSessionRef inSession, OSAID *outBreakpoint)
OSAError OSADebuggerSetVariable(ComponentInstance scriptingComponent, OSADebugCallFrameRef inCallFrame, const AEDesc *inVariableName, OSAID inVariable)
OSAError OSADebuggerDisposeCallFrame(ComponentInstance scriptingComponent, OSADebugCallFrameRef inCallFrame)
OSAError OSAGetActiveProc(ComponentInstance scriptingComponent, OSAActiveUPP *activeProc, long *refCon)
#define NewOSAActiveUPP(userRoutine)
Definition: OSA.h:1066
OSAError OSADebuggerDisposeSession(ComponentInstance scriptingComponent, OSADebugSessionRef inSession)
@ keyStatementRange
Definition: OSA.h:2054
@ keyGlobalsNames
Definition: OSA.h:2056
@ keyParamsNames
Definition: OSA.h:2057
@ keyLocalsNames
Definition: OSA.h:2055
OSAError OSASetCurrentDialect(ComponentInstance scriptingComponent, short dialectCode)
OSErr InvokeOSAActiveUPP(long refCon, OSAActiveUPP userUPP)
void DisposeOSASendUPP(OSASendUPP userUPP)
OSAError OSAAvailableDialects(ComponentInstance scriptingComponent, AEDesc *resultingDialectInfoList)
OSAError OSAStore(ComponentInstance scriptingComponent, OSAID scriptID, DescType desiredType, long modeFlags, AEDesc *resultingScriptData)
OSAError OSAGetSource(ComponentInstance scriptingComponent, OSAID scriptID, DescType desiredType, AEDesc *resultingSourceData)
OSAError OSACopyScript(ComponentInstance scriptingComponent, OSAID fromID, OSAID *toID)
Definition: AEDataModel.h:175
Definition: Components.h:220