#NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. #Warn ; Recommended for catching common errors. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory. #IfWinActive Diablo III !c:: ; Alt-C hotkey Loop, 50 ; amount of clicks { Click 350, 780 ; set for 1080p resolution Sleep 3350 } return