In FileMaker Go, returns a number representing the event that activated an OnExternalCommandReceived script trigger.
Get ( TriggerExternalEvent )None
number
FileMaker Pro 14.0
In FileMaker Go, returns one of the following numbers:
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  | 
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 ; Exit after last: Off]
	AVPlayer Play [Object Name: "Player"]
Else If [Get(TriggerExternalEvent) = 5 ]
	Go to Record/Request/Page [Previous ; Exit after last: Off]
	AVPlayer Play [Object Name: "Player"]
End If