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: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

AppleScript.Execute

Performs a compiled Apple Script.

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

Performs a compiled Apple Script.
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 21st June 2021


AppleScript.Compile - AppleScript.GetPropertyName

Feedback: Report problem or ask question.