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
Queries result of last evaluate.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Schedule | 5.2 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example |
---|---|---|
ScheduleRef | The reference for a scheduled script call or sql query as returned by Schedule.StartScript* functions or Schedule.ExecuteSQL* functions. | $ref |
Returns OK or error.
Try it:
# evaluate that in a second
Set Variable [$ref; Value:MBS( "Schedule.EvaluateAfterDelay"; 1; "1+2")]
# stop plugin from removing schedule after it was evaluated
Set Variable [$r; Value:MBS( "Schedule.SetFreeAfterRun"; $ref; 0 )]
# check what is inside?
Set Variable [$r; Value:MBS( "Schedule.GetEvaluate"; $ref )]
# make a pause
Pause/Resume Script [Duration (seconds): 2]
# now check result. Shows 3
Show Custom Dialog ["Result"; MBS( "Schedule.GetEvaluateResult"; $ref )]
# and free memory
Set Variable [$r; Value:MBS( "Schedule.Release"; $ref )]
Created 21st May 2015, last changed 21st May 2015
Schedule.GetEvaluate - Schedule.GetFileName
Feedback: Report problem or ask question.