#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn ; Enable warnings to assist with detecting common errors.
SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
;************************************************************
; ONLY FOR 7D2D
;************************************************************
#IfWinActive, 7 Days To Die
;************************************************************
; ALT-R is autorun. W to stop.
;************************************************************
!r::
Send {w up}{w down}
return
;************************************************************
; ALT-M - Hold Down Left Mouse Button. Left Mouse Button to stop.
;************************************************************
!m::
Click, Down
return