Get(TriggerExternalEvent)
 
Purpose 
In FileMaker Go, returns a number representing the event that activated an OnExternalCommandReceived script trigger.
Format 
Get(TriggerExternalEvent)
Parameters 
None
Data type returned 
number
Originated in 
FileMaker Pro 14.0
Description 
In FileMaker Go, returns one of the following numbers:
 
Example 1 
Controls which media file to play based on the event that activated the OnExternalCommandReceived script trigger on the lock screen or an external device.
If [Get(TriggerExternalEvent) = 4 ]
Go to Record/Request/Page [Next]
AVPlayer Play [Object:: "Player"]
Else If [Get(TriggerExternalEvent) = 5 ]
Go to Record/Request/Page [Previous]
AVPlayer Play [Object:: "Player"]
End If
Related topics 
Functions reference (category list)
Functions reference (alphabetical list)
About formulas
About functions
Defining calculation fields
Using operators in formulas
OnExternalCommandReceived