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") ]
Release notes
- Version 15.1
- Improved CNContactStore.SetChangeScript to deliver when no script is running and not too often.
Example Databases
Blog Entries
This function is free to use.
Created 1st August 2018, last changed 6th August 2018
CNContactStore.RequestAccesss - CNContactStore.SetTransactionAuthor
