19 #ifndef __APPLESCRIPT__
20 #define __APPLESCRIPT__
26 #ifndef __APPLEEVENTS__
51 #if PRAGMA_STRUCT_ALIGN
52 #pragma options align = mac68k
53 #elif PRAGMA_STRUCT_PACKPUSH
55 #elif PRAGMA_STRUCT_PACK
68 typeAppleScript = FOUR_CHAR_CODE(
'ascr'),
69 kAppleScriptSubtype = typeAppleScript,
70 typeASStorage = typeAppleScript
79 kASSelectInit = 0x1001,
80 kASSelectSetSourceStyles = 0x1002,
81 kASSelectGetSourceStyles = 0x1003,
82 kASSelectGetSourceStyleNames = 0x1004
90 kASHasOpenHandler = FOUR_CHAR_CODE(
'hsod')
113 long preferredStackSize,
long maxStackSize,
long minHeapSize,
114 long preferredHeapSize,
long maxHeapSize);
133 kASDefaultMinStackSize = 4 * 1024,
134 kASDefaultPreferredStackSize = 16 * 1024,
135 kASDefaultMaxStackSize = 16 * 1024,
136 kASDefaultMinHeapSize = 4 * 1024,
137 kASDefaultPreferredHeapSize = 16 * 1024,
138 kASDefaultMaxHeapSize = 32L * 1024 * 1024
205 kASSourceStyleUncompiledText = 0,
206 kASSourceStyleNormalText = 1,
207 kASSourceStyleLanguageKeyword = 2,
208 kASSourceStyleApplicationKeyword = 3,
209 kASSourceStyleComment = 4,
210 kASSourceStyleLiteral = 5,
211 kASSourceStyleUserSymbol = 6,
212 kASSourceStyleObjectSpecifier = 7,
213 kASNumberOfSourceStyles = 8
216 #if PRAGMA_STRUCT_ALIGN
217 #pragma options align = reset
218 #elif PRAGMA_STRUCT_PACKPUSH
220 #elif PRAGMA_STRUCT_PACK
224 #ifdef PRAGMA_IMPORT_OFF
AppleEvent Package Interfaces.
OSAError ASSetSourceStyles(ComponentInstance scriptingComponent, STHandle sourceStyles)
OSAError ASInit(ComponentInstance scriptingComponent, long modeFlags, long minStackSize, long preferredStackSize, long maxStackSize, long minHeapSize, long preferredHeapSize, long maxHeapSize)
OSAError ASGetSourceStyles(ComponentInstance scriptingComponent, STHandle *resultingSourceStyles)
OSAError ASGetSourceStyleNames(ComponentInstance scriptingComponent, long modeFlags, AEDescList *resultingSourceStyleNamesList)
Open Scripting Architecture Client Interfaces.
Definition: AEDataModel.h:175
Definition: Components.h:220
Definition: TextEdit.h:432