Skip to content

Instantly share code, notes, and snippets.

@TLMcode
Forked from anonymous/gist:6058330
Last active December 20, 2015 02:39
Show Gist options
  • Save TLMcode/6058346 to your computer and use it in GitHub Desktop.
Save TLMcode/6058346 to your computer and use it in GitHub Desktop.
#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% 2}{RControl down}
}
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment