Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
CNContactStore.SetChangeScript
Sets the script to trigger on changes by other applications.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Contacts | 8.4 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
MBS( "CNContactStore.SetChangeScript"; Filename; ScriptName { ; Parameter } ) More
Parameters
Parameter | Description | Example | Flags |
---|---|---|---|
Filename | The database file name where the script is located. | "test.fmp12" | |
ScriptName | The script name. | "MyScript" | |
Parameter | The parameter to pass. | Optional |
Result
Returns OK or error.
Description
Sets the script to trigger on changes by other applications.Examples
Set Trigger:
Set Variable [ $r ; Value: MBS( "CNContactStore.SetChangeScript"; Get(FileName); "Trigger") ]
Example Databases
This function is free to use.
Created 1st August 2018, last changed 6th August 2018