Platforms to show: All Mac Windows Linux Cross-Platform

OSAScriptMBS.compile(byref error as dictionary) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Apple Script MBS MacExtras Plugin 15.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Compiles the script.
OSAScriptMBS.compiledDataForType(type as string, options as Integer, byref error as dictionary) as MemoryBlock
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Apple Script MBS MacExtras Plugin 15.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Compile data for a given type and options.
OSAScriptMBS.copy as OSAScriptMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Apple Script MBS MacExtras Plugin 15.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Creates a copy of the script.
OSAScriptMBS.execute(byref error as dictionary) as NSAppleEventDescriptorMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Apple Script MBS MacExtras Plugin 15.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Executes the script.
Example:
dim s as new OSAScriptMBS("display dialog ""Hello""")
dim d as Dictionary
call s.execute(d)
OSAScriptMBS.executeAndReturnDisplayValue(byref displayValue as NSAttributedStringMBS, byref error as dictionary) as NSAppleEventDescriptorMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Apple Script MBS MacExtras Plugin 15.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Executes the script and returns the display value of result.
OSAScriptMBS.executeAppleEvent(event as NSAppleEventDescriptorMBS, byref error as dictionary) as NSAppleEventDescriptorMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Apple Script MBS MacExtras Plugin 15.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Executes an apple event in the script.
OSAScriptMBS.executeHandlerWithName(Name as String, arguments() as String, byref error as dictionary) as NSAppleEventDescriptorMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Apple Script MBS MacExtras Plugin 15.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Executes an event handler in the script.
OSAScriptMBS.richTextFromDescriptor(descriptor as NSAppleEventDescriptorMBS) as NSAttributedStringMBS
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Apple Script MBS MacExtras Plugin 15.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Queries rich text for an Appleevent descriptor.
OSAScriptMBS.writeToURL(URL as String, type as String, byref error as dictionary) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Apple Script MBS MacExtras Plugin 15.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Writes script to a file.

See also:

OSAScriptMBS.writeToURL(URL as String, type as String, storageOptions as Integer, byref error as dictionary) as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
method Apple Script MBS MacExtras Plugin 15.3 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Writes script to a file.

See also:

The items on this page are in the following plugins: MBS MacExtras Plugin.

Feedback: Report problem or ask question.

The biggest plugin in space...


Start Chat