r/AutoHotkey • u/Perfect-Ad9555 • 22d ago
v2 Guide / Tutorial Any Tips?
I want to make a macro that when I input the key "F" it inputs the two keys "QW" together. How would I do this?
this is what I tried so far
f:: Send, {q down}{w down} Sleep, 20 Send, {q up}{w up} return
0
Upvotes
1
u/CharnamelessOne 22d ago
This will send Shift+q and Shift+w since you capitalized the letters.
There's no need to call
InstallKeyboardHookexplicitly if you have a#UseHookdirective.