A_HotkeyInterval := 2000 & A_MaxHotkeysPerInterval := 200

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
Tobgun1
Posts: 123
Joined: 23 Feb 2023, 07:28

A_HotkeyInterval := 2000 & A_MaxHotkeysPerInterval := 200

23 Apr 2023, 16:29

Hi there :)

i somehow managed to get this error message:
grafik.png
grafik.png (77.56 KiB) Viewed 373 times
the

Help Docs tell me standart is 70

example says:

https://www.autohotkey.com/docs/v2/lib/A_MaxHotkeysPerInterval.htm#ExBasic
Allows a maximum of 200 hotkeys to be pressed within 2000 ms without triggering a warning dialog.
A_HotkeyInterval := 2000 ; This is the default value (milliseconds).
A_MaxHotkeysPerInterval := 200


any thoughts about these Numbers?
Do i get into some Critical Range if i go around Value of 200 to deactivate that message?

i made a big image search i guess it is the problem....

someone got any expierience in increasing that Value?

Thanks Tobgun1
User avatar
mikeyww
Posts: 27216
Joined: 09 Sep 2014, 18:38

Re: A_HotkeyInterval := 2000 & A_MaxHotkeysPerInterval := 200

23 Apr 2023, 17:04

I find that this usually indicates a bug in the code-- something about the design of the script that was typically not intended.
gregster
Posts: 9095
Joined: 30 Sep 2013, 06:48

Re: A_HotkeyInterval := 2000 & A_MaxHotkeysPerInterval := 200

23 Apr 2023, 17:05

Technical info:
@Tobgun1, I fixed your uploaded image placement by removing the img-links. If you place an attachment inline, there is no need to add additional img-tags around the attachment-tags - because the img-tags will then break the inline attachment (and the image will be listed like a normal image attachment at the end of the post). If you want to place an uploaded picture inline, just push the 'Place inline' button (and correct the location of the attachment-tags, if necessary), nothing else.

Img-tags - on the other hand - are used for externally hosted pictures (although it will only work with direct links to the image, not picture-embedding html pages).
Tobgun1
Posts: 123
Joined: 23 Feb 2023, 07:28

Re: A_HotkeyInterval := 2000 & A_MaxHotkeysPerInterval := 200

23 Apr 2023, 17:11

mikeyww wrote:
23 Apr 2023, 17:04
I find that this usually indicates a bug in the code-- something about the design of the script that was typically not intended.
Yeah I was thinking about that, but how do I find it...

I got a huge image search added into it.
I also thought parts triggered by hotkeys are inactive.

I usually do a toggle line to toggle the timers on off
So I am not totaly sure where those hotkeys are or how to test it.

@gregster thanks. I thought I already fixed it.
I'm.sorry I am totaly not used to this forum style.

Tried to copy paste the link in here then it was also attached. Thanks for correcting it

Return to “Ask for Help (v2)”

Who is online

Users browsing this forum: Bing [Bot] and 26 guests