Left Click

Ask gaming related questions (AHK v1.1 and older)
Willy ly
Posts: 9
Joined: 17 Jul 2017, 16:53

Left Click

20 Sep 2017, 13:28

Hello, i need a script that every time that i move the cursor of the mouse, it will spam the left click until i stop moving it or i press F1, (the script can start pressing only 1 time the left click)

Pls help!! :) and thanks for everyone who trys to help me
yessorryno
Posts: 22
Joined: 12 Sep 2017, 03:13

Re: Left Click

20 Sep 2017, 21:03

Willy ly wrote:Hello, i need a script that every time that i move the cursor of the mouse, it will spam the left click until i stop moving it or i press F1, (the script can start pressing only 1 time the left click)

Pls help!! :) and thanks for everyone who trys to help me
Hi,

The following is my program, the function for the click of the left mouse button will continue to send the left button function, click once will stop, press F1 will stop, press F2 will close the program, I can only think of this to achieve you The demand, hope to help you.

Code: Select all

#MaxThreadsPerHotkey 2
Lbutton::
PressKey := ! PressKey
loop{
   click
} Until If (PressKey = 0)
return
#MaxThreadsPerHotkey 1

F1::
reload
return

F2::
exitapp
return	

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: No registered users and 75 guests