Hacker News new | ask | show | jobs
by sirn 3732 days ago
It's not as straightforward as TextExpander or aText, but it's possible to do so in Keyboard Maestro.

The macro: http://imgur.com/1oIhtJm.png

The prompt: https://imgur.com/esJt4gM.png

Keyboard Maestro macros consist of a trigger and an action. In the above example, I used the Typed String trigger to detect when "hhi" is typed then execute an action to create a prompt and paste the text with content from that prompt.