Skip to content

Setting A_MaxHotkeysPerInterval/A_HotkeyInterval with AutoHotkey v2 #390

Description

@jh0ker

Hello,

Thank you for this library, it's been very useful to me! I have a question, which might result in a bug report or a feature request, though I am not sure which it is, or if I'm just "holding it wrong".

I've built a small app to control my desk lights using your library, and I've encountered a small issue. When I'm spinning the rotary encoder that emits the hotkey fast enough, I get an AHK warning:

Image

I've looked at the documentation for these variables and it appears there is no way to set these variables in the hotkey script. Using the directives only seems to be compatible with AutoHotkey v1, which I suppose is a somewhat valid workaround, but it does seem to have some downsides apart from the fact that it's deprecated.

Is there a way to set these variables when working with AutoHotkey v2 with this library?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions