Search found 2 matches

by barbieqfreak
10 Jul 2018, 13:37
Forum: Gaming
Topic: While loop when button is held down
Replies: 4
Views: 655

Re: While loop when button is held down

Thanks! Any idea why we had to specify the physical state of the mouse side button?
by barbieqfreak
10 Jul 2018, 13:06
Forum: Gaming
Topic: While loop when button is held down
Replies: 4
Views: 655

While loop when button is held down

Just a little something I'm working on... not quite sure why this isn't working. I want to send the series of commands while the button is held down.

Code: Select all

XButton2::
{
	while GetKeyState XButton2
	{
		Send \
		Sleep 250
		Send q
		Sleep 6
		Send q
		Sleep 150
	}
}
return

Go to advanced search