Autohotkey 用于滚动的自动热键脚本

Autohotkey 用于滚动的自动热键脚本,autohotkey,Autohotkey,所以我并不是一个有自动热键的farmiliar,但我希望有人能帮我写一个脚本,每秒向上滚动鼠标滚轮,并通过按住特定的键来触发 提前谢谢 F1:: while GetKeyState("F1", "P") ; while holding down F1 { SendInput, {WheelDown} ; send this command to the active window Sleep, 1000 ; every

所以我并不是一个有自动热键的farmiliar,但我希望有人能帮我写一个脚本,每秒向上滚动鼠标滚轮,并通过按住特定的键来触发

提前谢谢

F1::
    while GetKeyState("F1", "P") ; while holding down F1
    {
        SendInput, {WheelDown}   ; send this command to the active window
        Sleep, 1000              ; every second (1000 ms)
    }
return

修改上述代码以满足您的需要。非常感谢:D