Lua:setGlobalDelayBetweenHotkeyActivation
Jump to navigation
Jump to search
Sets the minimum delay between activations of the same hotkey in milliseconds.
This affects all hotkeys that do not define their own minimum delay.
Function Parameters[edit]
| Parameter | Type | Description |
|---|---|---|
| delay | Integer | The minimum delay in milliseconds between activations of the same hotkey. |
Returns[edit]
void — This function does not return any value.
Examples[edit]
1 -- Require at least 500 milliseconds between activations of the same hotkey
2 setGlobalDelayBetweenHotkeyActivation(500)
3
4 -- Require at least 1000 milliseconds between activations of the same hotkey
5 setGlobalDelayBetweenHotkeyActivation(1000)