Created
March 31, 2016 12:50
-
-
Save jmbeach/fdbdb9395ff1f54de0783ab830c79f0c to your computer and use it in GitHub Desktop.
Caps-lock up down
This file contains 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
CapsLock:: | |
{ | |
if state = D | |
{ | |
} | |
else | |
{ | |
Send, {Down down} | |
Send, {Down up} | |
} | |
} | |
+CapsLock:: | |
{ | |
GetKeyState, state, Shift | |
if state = D | |
{ | |
Send, {Up down} | |
Send, {Up up} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment