Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 9.5   10.0   10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2    Statistic    FMM    Blog  

AppleScript.Execute

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

Component Version macOS Windows Linux Server iOS SDK
AppleScript 1.0 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ❌ No
MBS( "AppleScript.Execute"; Script ID )   More

Parameters

Parameter Description Example
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

Blog Entries

Created 18th August 2014, last changed 31st October 2016


AppleScript.Compile - AppleScript.GetPropertyName

Feedback: Report problem or ask question.