Skip to content

Instantly share code, notes, and snippets.

@Elijas
Created October 2, 2019 21:38
Show Gist options
  • Save Elijas/d1b7754b0a686029d47ce8041314548b to your computer and use it in GitHub Desktop.
Save Elijas/d1b7754b0a686029d47ce8041314548b to your computer and use it in GitHub Desktop.
Modifier key hotkeys on single press only
;Source: https://www.autohotkey.com/boards/viewtopic.php?t=34909 "Modifier key hotkeys on single press only" by func
#SingleInstance Force
#InstallKeybdHook
~LShift Up::
if (A_PriorKey = "LShift")
send, {tab}
return
~LControl Up::
if (A_PriorKey = "LControl")
send, +{tab}
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment