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:
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
11.3
11.4
Statistic
FMM
Blog
Sets the script trigger.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Contacts | 10.1 | ✅ Yes | ❌ No | ❌ No | ❌ No | ✅ Yes |
Parameter | Description | Example |
---|---|---|
FileName | The name of the FileMaker File that contains the script. | "test.fmp12" |
ScriptName | The name of the script to run. | "MyScript" |
Returns OK or error.
Setup trigger:
# use picker sheet/popover to select contact
Set Variable [ $r ; Value: MBS( "CNContactPicker.SetTrigger"; Get(FileName); "Picked") ]
Set Variable [ $r ; Value: MBS( "CNContactPicker.Show") ]
If [ MBS("IsError") ]
Show Custom Dialog [ "Failed to show picker" ; $r ]
End If
Created 31st January 2020, last changed 13th January 2021
CNContactPicker.Current - CNContactPicker.Show
Feedback: Report problem or ask question.