I switched recently to an Macbook Pro with an M3 Pro chip after using Windows for a lifetime. I am trying to make a a shortcut which can trigger many different actions and in my case all the actions lead to different text outputs.
For example by hitting Option and - the keyboard listens to the following inputs, so if I press the letter p it directly pastes specific text depending on what key I hit after using my hotkey. This wouldn't have been an issue for me on Windows since I used AutoHotkey (AHK) for Automation commands of this nature but now on mac I am struggling with the lightest tasks.
I already tried to get the job done with Apple's Automator and the Shortcuts app but the hotkeys don't even trigger, that's why I am trying to get help here. AppleScript etc. is completely new for me and I have no idea what to do in order to get the code that I want since I only know AHK for Automation.
Specific shortcut f.e. Option and Minus trigger the keyboard to listen to the next inputs like some specific selected letters. Pressing on each of them will paste different code. This mode can be exited by the same shortcut or different ones so that the keyboard can be used normally for texting again.
I am looking for any good alternatives for AHK which also have this freedom if being able to really customize the triggers and outputs.
How can I get this done on macos 14.2 without AHK?