Created
April 22, 2020 19:37
-
-
Save AndreVallestero/a26ceeb7818b0d01e4cfce25f4b5595b to your computer and use it in GitHub Desktop.
Auto Hotkeys Dynamic Hotkeys
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
hotkeyList = 1,2,3,4,5,6,7,0,q,w,e,r,t,y,LButton,RButton | |
Loop, Parse, hotkeyList, `, | |
Hotkey, !^+%A_LoopField%, toggleKey | |
return | |
toggleKey: | |
varKey := "toggle" . SubStr(A_ThisHotkey, 4) | |
%varKey% := %varKey% ? 0 : 1 | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment