Wheeldown command is not consistent

Get help with using AutoHotkey and its commands and hotkeys
Posts: 124
Joined: 23 Aug 2018, 11:17

Wheeldown command is not consistent

11 Sep 2020, 19:19

simple code like this:

^d::send {wheeldown 5}

when I press ctrl + d, most of the time it works as ordered (exactly the same screen shown when manually turning the wheel downward 5 times)
but from time to time, wheeldown is sent 4 times and this is annoying as hell!

why does this happen and how to avoid this from occuring ?

(I use this mostly for chrome browser but other application also reports the same problem)
User avatar
Posts: 1099
Joined: 15 Aug 2014, 15:18

Re: Wheeldown command is not consistent

11 Sep 2020, 19:56


Code: Select all

    KeyWait, Ctrl ; start WheelDown only when Ctrl is released
    loop, 5 {
        send {wheeldown}
        Sleep, 100 ; increase/decrease as needed

Return to “Ask For Help”

Who is online

Users browsing this forum: Bing [Bot], boiler, Chunjee, Google [Bot], Hologram and 39 guests