Created
June 4, 2014 22:48
-
-
Save anonymous/6ef89b14e0f610d59cd7 to your computer and use it in GitHub Desktop.
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
space::send, {space} | |
Function(key) | |
{ | |
if (GetKeyState("ctrl", "P") and GetKeyState("shift", "P")) | |
{ | |
sendinput, ^+%key% | |
} | |
else if (GetKeyState("ctrl", "P") and GetKeyState("alt", "P")) | |
{ | |
sendinput, ^!%key% | |
} | |
else if (GetKeyState("alt", "P") and GetKeyState("shift", "P")) | |
{ | |
sendinput, !+%key% | |
} | |
else if GetKeyState("ctrl", "P") | |
{ | |
sendinput, ^%key% | |
} | |
else if GetKeyState("shift", "P") | |
{ | |
sendinput, +%key% | |
} | |
else if GetKeyState("alt", "P") | |
{ | |
sendinput, !%key% | |
} | |
else | |
{ | |
sendinput, %key% | |
} | |
return | |
} | |
space & l::Function("{right}") | |
space & f:: | |
if GetKeyState("ctrl", "P") | |
{ | |
;... | |
} | |
else if GetKeyState("shift", "P") | |
{ | |
; ... | |
} | |
else | |
{ | |
send, ^{tab} ; cycle tabs | |
} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment