Functions Reference

Table Of Contents
Get functions
F
ILEMAKER FUNCTIONS REFERENCE 200
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
Returned value External event
0 Unknown
1 RemotePlayMedia
2 RemotePause
3 RemoteTogglePlayPause
4 RemotePlayNext
5 RemotePlayPrevious
6 RemoteSeek (begin or end seeking forward or backward)
7 RemoteStop