Browse the docs

keyRepeatInterval

Returns the time between repeats of a held key, in seconds.

Keyboard Maestro: KEYREPEATINTERVAL

Details #

keyRepeatInterval() takes no arguments and returns the system's time between repeated characters while a key is held, in seconds.

Parameters #

Takes 0 arguments. {{ keyRepeatInterval() }}

Examples #

keyRepeatInterval()
→ 0

Gotchas #

  • Calling it with any argument is an error: keyRepeatInterval() takes 0 arguments, got 1.

  • When no real Mac is behind it (tests, previews) or the Mac can't answer, it returns 0.