Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Sets the script to run when button is clicked.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Progressdialog | 7.1 | ✅ Yes | ✅ Yes | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example | Flags |
---|---|---|---|
FileName | The file name for the script. | Get(FileName) | |
ScriptName | The script name to run. An empty name will disable the script calling. |
"CancelScript" | |
Parameter | The script parameter to pass. | Optional |
Returns OK or error.
Set script to run
MBS("ProgressDialog.SetScript"; Get(FileName); "CancelScript"; "optional parameter")
This function is free to use.
Created 14th February 2017, last changed 15th October 2022