How do when key is pressed and released Topic is solved

Ask gaming related questions (AHK v1.1 and older)
javaonhoward

How do when key is pressed and released  Topic is solved

21 Oct 2017, 22:04

Idk if this is the right forum/thread post but i made a script that gives me 8 clicks now i want it to do when my mouse button is pressed and released

here the script

f8::
Suspend

Return

Lbutton::

SetMouseDelay, 5

Click, 8
Rohwedder
Posts: 7616
Joined: 04 Jun 2014, 08:33
Location: Germany

Re: How do when key is pressed and released

22 Oct 2017, 01:18

Hallo,
you want 8 clicks when the mouse button pressed and 8 clicks when the mouse button released?
Try:

Code: Select all

f8::
	Suspend
Return

Lbutton::
	SetMouseDelay, 5
	Click, 8
	Keywait, Lbutton
	Click, 8
Return

Return to “Gaming Help (v1)”

Who is online

Users browsing this forum: joefiesta and 35 guests