Skip to content

Instantly share code, notes, and snippets.

@apkd
Last active September 29, 2017 08:31
Show Gist options
  • Save apkd/966900e210d449ba4c1b1c2dc6727653 to your computer and use it in GitHub Desktop.
Save apkd/966900e210d449ba4c1b1c2dc6727653 to your computer and use it in GitHub Desktop.
AHK scripts
WheelRight::^#Right
WheelLeft::^#Left
^SPACE::Winset, Alwaysontop, , A ; ctrl+space
^SC029::Winset, Alwaysontop, , A ; ctrl+`
#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
mode = right
`::
if (mode = "right")
{
sendinput, ^#{Right}
mode = left
}
else
{
sendinput, ^#{Left}
mode = right
}
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment