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: 8.1   8.2   8.3   8.4   8.5   9.0   9.1   9.2   9.3   9.4    Statistic  

Schedule.EvaluateAfterDelay

Evaluates an expression after a delay.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Schedule 5.2 Yes Yes No No Yes
MBS( "Schedule.EvaluateAfterDelay"; DelaySeconds; Expression { ; ScriptFileName; ScriptName; RepeatDelay } )   More

Parameters

Parameter Description Example value
DelaySeconds The Number of Seconds to wait before running the script. 10
Expression The expression to evaluate. "Get(CurrentTimeStamp)"
ScriptFileName Optional
The name of the file that contains the script to be run.
Get(Filename)
ScriptName Optional
The exact name of the script to run.
"TestScript"
RepeatDelay Optional
The number of seconds after which to repeat the script call.
30

Result

Returns reference number or error.

Description

Evaluates an expression after a delay.
Optional, we can start a script with the result of the query.
Please use Schedule.Release later to remove schedule from list. Non repeating scheduled items are free automatically for you.
Our plugin does not provide persistence. You need to schedule things in your scripts if you need them. When FileMaker quits, the plugin forgets the list of schedules.

Examples

Try it:

Set Variable [$expression; Value:"MBS(\"Log\"; \"Evaluate works\")"]
Set Variable [$ref; Value:MBS( "Schedule.EvaluateAfterDelay"; 5; $expression )]

Show/Hide format bar in German:

Variable setzen [ $r ; Wert: MBS( "Schedule.EvaluateAfterDelay"; ,1; "MBS( \"Menubar.RunMenuCommand\"; Liste(\"Ansicht\"; \"Formatierungsleiste\") )") ]

See also

Example Databases

Blog Entries

Created 21st May 2015, last changed 28th March 2018


Schedule.ClearSQLResult   -   Schedule.EvaluateAtTime

Feedback: Report problem or ask question.




Links
MBS FileMaker Plugins