Open davuses opened 10 months ago
yeah that's pretty annoying
yeah that's pretty annoying
Any workaround for this issue?
Sure, you can write your own key repeat logic:
!+k::
send {up}
sleep 300
loop
{
sleep 100 ; or how fast else you want this to behave
GetKeyState, state, k
if state != D
break
send {up}
}
return
Stuff like this may contain bugs (e.g. #26), but this very code sample seems to work fine.
The only downside I can see is that it doesn't synchronize with the actual key repeat configured for your system.
If you have many such remaps, you could even generalize this into a routine that uses the Hotkey
command to register them, so then you'll do
hotkey_from = !+k
hotkey_to = {up}
GoSub, register_repeating_hotkey
Key repeat is not enabled on remapped keys. If I remap
up
key to combinationalt+shift+k
, I have to keep hittingk
to go up multiple lines.By comparison the
up
key can automatically move cursor up multiple lines when I press it.I'm running AHK_X11 on KDE.