已经可以使用,但美中不足的地方,偶尔抬起f1的时候还会保持20行数,要稍等片刻才能恢复,不知道还能不能优化
SetScrollSpeed(speed)
{
DllCall("SystemParametersInfo", "UInt", 0x0069, "UInt", speed, "Ptr", 0, "UInt", 3)
}
F1::
F1 up::
{
switch ThisHotkey
{
case "F1":
SetScrollSpeed(20)
case "F1 up":
SetScrollSpeed(3)
}
}