Skip to content

Instantly share code, notes, and snippets.

@tomkimberlin
Created June 23, 2022 04:14
Show Gist options
  • Save tomkimberlin/1c31f139d280208b5f5dc6d8f07de8de to your computer and use it in GitHub Desktop.
Save tomkimberlin/1c31f139d280208b5f5dc6d8f07de8de to your computer and use it in GitHub Desktop.
DayZ Auto-Run AutoHotkey Script
#IfWinActive, DayZ
Sendmode, Input
*`::
toggle := !toggle
If toggle {
Send {w down}
Send {lshift down}
}
else {
Send {w up}
Send {lshift up}
}
return
~w::
~lshift::
If toggle
{
toggle := false
Send {w up}
Send {lshift up}
}
return
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment