Skip to content

Instantly share code, notes, and snippets.

@markryd
Created October 15, 2012 23:26
Show Gist options
  • Save markryd/3896329 to your computer and use it in GitHub Desktop.
Save markryd/3896329 to your computer and use it in GitHub Desktop.
$LShift::
$RShift::
Key := SubStr(A_ThisHotkey,2)
Send, {%Key% Down}
KeyWait, %Key%
Send, {%Key% Up}
If ( A_PriorHotkey == A_ThisHotkey )
SendRaw, % InStr(Key,"L") ? "(" : ")"
Return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment