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.2   12.3   12.4   12.5   13.0   13.1   13.2   13.3   13.4   13.5    Statistic    FMM    Blog  

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


CNContactStore.RequestAccesss - CNContactStore.Subgroups

💬 Ask a question or report a problem