It worked. But add 50 of these, plus a few SetKeyDelay commands, and suddenly your keystrokes would "hang" or paste into the wrong window.
The Keyboard Script V2 boasts an impressive array of features, making it an indispensable tool for anyone looking to optimize their workflow: keyboard script v2
: Bind a key like Caps Lock to open specific apps using the Run command. It worked
AHK v2 requires expressions and quotes for strings, making it different from v1. 1. Simple Hotkeys plus a few SetKeyDelay commands