Remapping arrow keys: a keyboard repeat problem

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
newbieforever
Posts: 493
Joined: 24 Aug 2016, 03:34

Remapping arrow keys: a keyboard repeat problem

22 Aug 2017, 15:32

Hi!

I remap the Ctrl+Up / Ctrl+Up to perform a specific action:

Code: Select all

#If ConditionsOK()
^Down::
   ControlClick, x%PointX% y%PointY%, A
Return
#If
This is working fine for individual Ctrl+Down strokes.

But if Ctrl and Down are held down longer, there is a problem because the keyboard repeat is working very fast, i.e. to fast for each #If ConditionsOK() & ControlClick, with the effect that after releasing the keys the action continues for a larger number of keyboard repeats not executed at the time of key release.

Is there a way to avoid such a behavior?

Thank you very much in advance for your ideas!

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: Lamron750, songdg and 258 guests