Page 1 of 1

#MaxHotkeysPerInterval-Error despite $ prefix

Posted: 23 Mar 2018, 09:42
by Rohwedder
Hallo,
try:

Code: Select all

$a::
SetKeyDelay,1000
;SetKeyDelay,,1000
;SetKeyDelay,1000,1000
While, GetKeyState("a","P")
	Send, a
;Sleep, 0
Return
Press button A for a few seconds, then release:
71 hotkeys have been received in the last 0ms.
Do you want to continue?
(see #MaxHotkeysPerInterval in the help file)

with all three versions of SetKeyDelay!
Uncomment "Sleep, 0" to prevent the error message.