>>713160516This is what I use
#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.
LButton::
If (A_TimeSincePriorHotkey < 200) ;hyperclick
Return
sendinput {LButton down}
KeyWait, LButton
sendinput {LButton up}
Return
#pretty sure Xbutton2 is a side mouse button, you can change this
lmb = 0
XButton2::
lmb := !lmb
if (!lmb)
{
click up
}
else
{
click down
}
return
#My mouse wheel is fucked up too
Alt & Numpad8::WheelUp
return
Alt & Numpad2::WheelDown
return