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:
12.1
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
Statistic
FMM
Blog
Sets script to trigger if color changed.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
ColorPanel | 8.3 | ✅ Yes | ❌ No | ❌ No | ❌ No | ❌ No |
Parameter | Description | Example | Flags |
---|---|---|---|
Filename | The database file name where the script is located. | "test.fmp12" | |
ScriptName | The script name. | "MyScript" | |
Parameter | Script parameter to pass. | Optional |
Returns OK or error.
Set color changed script trigger:
Set Variable [ $r ; Value: MBS( "ColorPanel.SetColorChangedScript"; Get(FileName); "ColorChanged" ) ]
Clear script trigger:
MBS( "ColorPanel.SetColorChangedScript"; ""; "")
This function is free to use.
Created 13th June 2018, last changed 20th April 2020