How to turn an in-app keyboard shortcut into a trigger?

Hi BTT community!

I use the keyboard shortcut "shift-return" in Typora to create a new line in Markdown.

I would like to set up an action in BTT that is triggered when the shortcut "shift-return" in Typora is pressed, meaning that the BTT action is triggered only after Typora inserts the new line in the document.

How can it be done?

Thank you!

I don't know Typora. Is there a menu command for “new line”?

Then “shift-return” could first trigger “new line” and then another action.

It's not a menu item per se (I can't find it in the menu items of the app), but shift + return does indeed create a new line.

So that's what I'm struggling with. If I want to generate a new line, shift+return needs to happen through Typora (not BTT). Only then I want a separate BTT action to kick in.

so you want the original action to happen but want to trigger something in addition? In this case a key sequence could be used

Mm, shouldn't the simplest case also work, no?

The BTT trigger is shift+return (prevent recursive triggers), triggered is also shift+return and then the further desired action.

probably yes :wink: