Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3    Statistic  

AppleScript.Execute

Executes an AppleScript that was previously compiled using the AppleScript.Compile function.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
AppleScript 1.0 Yes No Yes, macOS only No No

MBS( "AppleScript.Execute"; Script ID )

Parameters

Parameter Description Example value
Script ID The Id of the script you want to execute. This ID returned by the AppleScript.Compile function. 1

Description

Executes an AppleScript that was previously compiled using the AppleScript.Compile function.
AppleScripts can return a result to the object that called them. This is similar to the Script Results that were introduced in FileMaker 8.0.
Older plugin versions used to put quotes around result. 6.4 and newer don't include quotes.

Examples

Execute a stored Applescript

MBS( "AppleScript.Execute" ; $ScriptID)

See also


AppleScript.Compile   -   AppleScript.GetPropertyName

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins