Hold to repeat

Discussion, questions and support.
Post Reply
glaiwo
Posts: 2
Joined: Jul 7th, ’22, 19:18

Post by glaiwo » Jul 7th, ’22, 19:22

Is there a way I can set up Xbutton1 and 2 so that they trigger PgUp and PgDn at 10ms intervals while being held down?
User avatar
Marko
Posts: 1719
Joined: Mar 2nd, ’13, 21:02

Post by Marko » Jul 11th, ’22, 10:22

Shortcut: Xbutton1
Type: Command

Code: Select all

While (GetKeyState( "XButton1","P" )) 
{
	Send, {PgDn}
	Sleep, 10
}
Post Reply