Reference > Script triggers reference > OnExternalCommandReceived
 

OnExternalCommandReceived

Performs a script when the user presses one of the following buttons on the lock screen or on an external device: stop, play, pause, toggle play/pause, play next, play previous, or begin or end seeking forward or backward.

When the script runs

After the event has been processed.

Modes in which the trigger can be used

Browse and Find modes.

Result

None.

Compatibility 

 

Product 

Supported 

FileMaker Pro Advanced 

No 

FileMaker Go 

Yes 

FileMaker WebDirect 

No 

FileMaker Server 

No 

FileMaker Cloud 

No 

FileMaker Data API 

No 

Custom Web Publishing 

No 

Runtime solution 

No 

Originated in 

FileMaker Pro 14.0

Notes 

Use the Get(TriggerExternalEvent) function to return the event that activated the script trigger.

Related topics 

Setting up script triggers

Setting script triggers for layouts

Setting script triggers for objects