Page 1 of 1

Shift key spam

Posted: 19 Nov 2017, 10:57
by Manchmall
HI guys,

I want a simpel script, it has to have a function that when I press 'n' it will spam the left shiftkey every 15 miliseconds. Can someone help me?

Re: Shift key spam  Topic is solved

Posted: 20 Nov 2017, 03:13
by Rohwedder
Hallo,
try:

Code: Select all

*n::
	While, GetKeyState("n","P")
	{
		SendInput, {LShift}
		Sleep, 15
	}
Return