the entirety of the script:
Code: Select all
#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.
Suspend, On
Return
*MButton::
Suspend
Return
#If WinActive("ahk_class Chrome_WidgetWin_1")
*LButton::
While (GetKeyState("LButton", "P"))
{
MouseClick
Sleep, 2
}
Return
any thoughts?