Search code examples
autohotkey

How to disable the "71 keys pressed in the last..." Window


I have an NKRO keyboard, so when I hold down a bunch of keys, sometimes when gaming, the "71 keys pressed in the last ____ seconds" window pops up from AHK. Is there a way that I can disable that window or remove it from the AHK program altogether?


Solution

  • AutoHotkey has two directives for controlling this behavior:

    1. #MaxHotkeysPerInterval <Value>

    This lets you define how many hotkeys can be fired within a certain interval (see below) before the warning dialog comes up. The default is 70.

    1. #HotkeyInterval <Milliseconds>

    This lets you define the length of the interval describe above in milliseconds. The default is 2000, which is 2 seconds.

    This warning popup is in place to protect you, so don't overdo it with these directives. They are intended to prevent you from creating an infinite loop where a hotkey triggers itself. 70 hotkeys within 2 seconds is quite a lot for most applications.