Browse Source

when repeat, send first instance immediately

master
Mar Alegre 1 year ago
parent
commit
619544e572
  1. 2
      lib/HoldRepeat.ahk

2
lib/HoldRepeat.ahk

@ -26,6 +26,8 @@ _HoldRepeat_Handler(IsHold, TargetKey, CancelKeys:=[], HoldKey:="") {
if IsHold { if IsHold {
Send HoldRepeat_BlindMode "{" TargetKey " down}" Send HoldRepeat_BlindMode "{" TargetKey " down}"
} else {
Send HoldRepeat_BlindMode "{" TargetKey "}"
} }
SetTimer _HoldRepeat_Loop.Bind(IsHold, TargetKey, CancelKeys, HoldKey), HoldRepeat_TimerPeriod SetTimer _HoldRepeat_Loop.Bind(IsHold, TargetKey, CancelKeys, HoldKey), HoldRepeat_TimerPeriod

Loading…
Cancel
Save