Automate

Automate

Make your phone or tablet smarter with automation

Get it on Google Play

Media button

An action block that awaits a media button press.

The fiber will pause until a button has been pressed.

If an audio player is launched after this block it will capture all media button presses unless override is enabled.

Note! Android 5+ devices may require Automate to be the default voice search app in order to intercept the Headset hook button before Google Now. Use the Override voice search option in settings.

Input arguments

  • Buttons — buttons to await.
  • Override — try to override all other apps, may not work on all devices.

Output variables

  • Button pressed — variable to assign the actual button pressed.
Note! This documentation can also be found in the Help & feedback menu of the app.