Keyboard Maestro + Streamdeck + Gmail

I'm thinking of what I would want to use Keyboard Maestro for, and here's the first thing I thought of:

  • I want to quickly apply labels to messages in Gmail. and I want to be able to do it from something that is not my keyboard, like an elgato Stream Deck. Ideally I would want to be able to apply the label, then remove the message from the inbox.

In Gmail, there's no keyboard shortcut for adding a label to a message. I guess that means I'd have to script it?

Then, could I trigger the macro from an elgato Stream Deck? I am imagining this at my left hand and my mouse in my right, and i would be able to slap the button on the Stream Deck and move on to the next message.

Yeah, I think you would have to start with a keystroke ('v' or 'l'), follow that by typing a string unique to your label and follow all of that with a "return" key.

Not exactly robust.

Thanks for this, Jody. I probably should have updated this post when I developed my StreamDeck profile a few days later.

I'll note (In case someone finds this by Googling) that 1) I was wrong to think there was no keyboard shortcut for adding a label to a message; rather, it's a multi-step keyboard shortcut, and 2) I made Stream Deck buttons that quickly apply labels by just telling it to do the multi-step keyboard shortcuts (so, no reason to add Keyboard Maestro as a second layer for something Stream Deck already does), but I did end up buying Keyboard Maestro to trigger a javascript I wrote that toggles between two inbox types (Unread First and Multiple Inboxes). I am not using that button as much as I thought I would, but I am still proud of it. :slight_smile:

“Jody” was a spammer and has been deleted.