long M1/left Click press

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
ac1234
Posts: 5
Joined: 21 Oct 2019, 04:32

long M1/left Click press

21 Oct 2019, 06:57

hi i have this script but its not working how i would like it to work.
i want to be able to press "3" and for it to keep holding left click of my mouse and when i press "3" again it lets go.
also at the same time i want to be able to see it with tip tool.
if anyone can help me edit it that will be great.
(if you can copy paste the whole thing and fix where needed and paste the whole correct script it will be appropriated.

Code: Select all

#MaxThreadsPerHotkey 2
3::
toggle := !toggle
	if (toggle)
		ToolTip, M1 HOLD, 100, 150
	while (toggle)
	{
    alt := not alt
    if (alt)
    {
        click down
    }
  else
    {
        click up
    }
    
	}
	ToolTip
Return

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Rohwedder, Tech Stuff and 328 guests