OSAScriptMBS class
Online Documentation - Statistics - FAQ - Plugin Parts (All, Dependencies) - Class hierarchy
New in Version
22.2
22.3
22.4
22.5
23.0
23.1
23.2
23.3
23.4
23.5
24.0
24.1
The list of the topics,
classes,
interfaces,
controls,
modules,
global methods by category,
global methods by name,
screenshots,
licenses
and examples.
Platforms to show: All Mac Windows Linux Cross-Platform
OSAScriptMBS class
The class for Open Scripting Architecture.
- 7 properties
- 24 methods
- method compile(byref error as dictionary) as boolean
- method compiledDataForType(type as string, options as Integer, byref error as dictionary) as MemoryBlock
- method Constructor(Data as MemoryBlock, byref error as dictionary)
- method Constructor(Data as MemoryBlock, url as string, storageOptions as Integer, byref error as NSErrorMBS)
- method Constructor(Data as NSAppleEventDescriptorMBS, URL as String, LanguageInstance as OSALanguageInstanceMBS, storageOptions as Integer, byref error as NSErrorMBS)
- method Constructor(File as FolderItem, byref error as dictionary)
- method Constructor(File as FolderItem, language as OSALanguageMBS, byref error as dictionary)
- method Constructor(File as FolderItem, languageInstance as OSALanguageInstanceMBS, storageOptions as Integer, byref error as NSErrorMBS)
- method Constructor(Source as String)
- method Constructor(Source as String, Language as OSALanguageMBS)
- method Constructor(Source as String, URL as String, LanguageInstance as OSALanguageInstanceMBS, storageOptions as Integer)
- method Constructor(URL as String, byref error as dictionary)
- method Constructor(URL as String, language as OSALanguageMBS, byref error as dictionary)
- method Constructor(URL as String, languageInstance as OSALanguageInstanceMBS, storageOptions as Integer, byref error as NSErrorMBS)
- method copy as OSAScriptMBS
- method execute(byref error as dictionary) as NSAppleEventDescriptorMBS
- method executeAndReturnDisplayValue(byref displayValue as NSAttributedStringMBS, byref error as dictionary) as NSAppleEventDescriptorMBS
- method executeAppleEvent(event as NSAppleEventDescriptorMBS, byref error as dictionary) as NSAppleEventDescriptorMBS
- method executeHandlerWithName(Name as String, arguments() as String, byref error as dictionary) as NSAppleEventDescriptorMBS
- method richTextFromDescriptor(descriptor as NSAppleEventDescriptorMBS) as NSAttributedStringMBS
- method writeToFile(File as FolderItem, type as String, byref error as dictionary) as boolean
- method writeToFile(File as FolderItem, type as String, storageOptions as Integer, byref error as dictionary) as boolean
- method writeToURL(URL as String, type as String, byref error as dictionary) as boolean
- method writeToURL(URL as String, type as String, storageOptions as Integer, byref error as dictionary) as boolean
- 16 shared methods
- 6 constants
Storage Options
Constant |
Value |
Description |
OSACompileIntoContext
|
2 |
Compile in context.
May be used when getting compiled data.
|
OSADontSetScriptLocation
|
&h01000000 |
Set script location.
May be used when initing with a URL or fromURL.
|
OSANull
|
0 |
No option set.
|
OSAPreventGetSource
|
1 |
Prevent user from getting source.
May be used when initing with a compiled script, writing or getting compiled data.
|
OSAShowStartupScreen
|
&h20000000 |
Show startup screen.
May be used when writing
|
OSAStayOpenApplet
|
&h10000000 |
Applet should stay open.
May be used when writing
|
This class has no sub classes.
Some properties using for this class:
The items on this page are in the following plugins: MBS MacExtras Plugin.
OSAScriptControllerMBS
-
OSAScriptViewMBS