Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5   8.0   8.1    Statistic  


Sets the script to run when button is clicked.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
Progressdialog 7.1 Yes Yes No No No

MBS( "Progressdialog.SetScript"; FileName; ScriptName { ; Parameter } )


Parameter Description Example value
FileName The file name for the script. Get(FileName)
ScriptName The script name to run.
An empty name will disable the script calling.
Parameter Optional
The script parameter to pass.


Returns OK or error.


Sets the script to run when button is clicked.


Set script to run

MBS("Progressdialog.SetScript"; Get(FileName); "CancelScript"; "optional parameter")

See also

Progressdialog.SetEvaluate   -   QLPreviewPanel.AddFile

Feedback: Report problem or ask question.

MBS FileMaker blog