AHK sends the key held in the "down" variable,
1 answer
Try this code:
Version 1:
hotkey := "n"
Send {%hotkey% down}
Version 2:
!^z::
hotkey := "n"
Send {%hotkey% down}
return
Make sure it's n
enclosed in ""
. Wrapping any text in ""
means that you are assigning it as a text string. And the variable used in the command Send
must contain a text string.
+1
source to share