Created
July 22, 2013 22:35
-
-
Save anonymous/6058330 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
#InstallKeybdHook | |
#IfWinActive ahk_class ArenaNet_Dx_Window_Class | |
SetKeyDelay, 50, 50 | |
MouseGetPos, xpos, ypos | |
SetTimer, KeyLog, 20 | |
KeyLog: | |
If (A_priorkey != "RControl" && A_priorkey != "LButton") | |
d := A_PriorKey | |
return | |
^LButton:: | |
{ | |
If (ypos < 800) | |
Send %d% | |
Send %d% | |
Send {RControl down} | |
} | |
return |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment