All functions
Mac OS X
Windows
Crossplatform
Server
Components
Guides
Statistic
New in version:
2.0
2.1
2.2
2.3
2.4
2.5
2.6
2.7
2.8
2.9
3.0
3.1
3.2
FM.RunScriptLater
Component: FM
Version: 1.2
Mac OS X: Works
Windows: Works
Server: Works
MBS( "FM.RunScriptLater" ; DelaySeconds; FileName; ScriptName; ScriptParameter )
Parameters
| Parameter | Description | Example value |
|---|---|---|
| DelaySeconds | The Number of Seconds to wait before running the script | |
| FileName | The name of the file that contains the script to be run | |
| ScriptName | The exact name of the script to run | |
| ScriptParameter | The Script Parameter to pass to the script |
Description
Runs a script in any open FileMaker file.You can also pass a text string to the Script as a Parameter. The parameter can be retrieved by using Get(ScriptParameter) in the script that plug-in is calling.
Examples
Trigger a script later
Let(
[
/*-----------------PARAMETERS--------------------*/
DelaySeconds = 5;
FileName = Get ( FileName );
ScriptName = "Triggered Script Demo 2";
ScriptParameter = "Some Data"
];
/*-------------------FUNCTION----------------------*/
MBS(
"FM.RunScriptLater";
DelaySeconds;
FileName;
ScriptName;
ScriptParameter
)
)
Feedback: Report problem or ask question.
Links
MBS Realbasic tutorial videos - Pfarrgemeinde Ministranten Nickenich