F13 Triggers Assistant Listen

by Andrew Ahlfield

Version 1 (August 16, 2023)

Download (20 downloads)

Useful if you don't want to turn on "Okay Google" detection, but still want a relatively hands free way to get Google Assistant's attention.
Designed to be used with a wearable input button, or a 1-3 button Bluetooth keyboard permanently mounted to your car's dashboard, etc.

This script causes the F13 key to function like clicking the Google Assistant mic button on your phone. You can modify the keycode used as the trigger if something else works better for you. I picked F13 because it's a real keycode but isn't used by much else these days!
You can also modify what action gets launched by this trigger, or expand it to be able to handle multiple different keycodes and launch different actions. Please re-upload if you do!