I want to spam click when I m holding a button Topic is solved

Ask gaming related questions (AHK v1.1 and older)
yetek453
Posts: 8
Joined: 30 Nov 2023, 08:46

I want to spam click when I m holding a button

Post by yetek453 » 29 Jan 2024, 08:16

Code: Select all

V::
Send 3{3 down}
Click
KeyWait v
Send {3 up}
Send, 1
Return
Its like this right now, I think I need a symbol for not getting stuck :/

Rohwedder
Posts: 7774
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: I want to spam click when I m holding a button  Topic is solved

Post by Rohwedder » 30 Jan 2024, 01:50

Hallo,
a symbol?! Do you mean a loop?:

Code: Select all

v::
Send 3{3 down}
While, GetKeyState("v","P")
	Click
Send {3 up}1
Return

yetek453
Posts: 8
Joined: 30 Nov 2023, 08:46

Re: I want to spam click when I m holding a button

Post by yetek453 » 31 Jan 2024, 18:55

@Rohwedder

I just need something like WHEN I send -3 up- It should send 1 !!!

yetek453
Posts: 8
Joined: 30 Nov 2023, 08:46

I want to spam click when I m holding a button

Post by yetek453 » 02 Feb 2024, 06:33

Code: Select all

v::
Send 3{3 down}
While, GetKeyState("v","P")
	Click
Send {3 up}1
Return
Its like this right now but I just need something like WHEN I send -3 up- It should send 1, I tried if but it didnt work :(

Rohwedder
Posts: 7774
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: I want to spam click when I m holding a button

Post by Rohwedder » 02 Feb 2024, 07:17

This?:

Code: Select all

3 Up::Send, 1

Post Reply

Return to “Gaming Help (v1)”