自动热键循环的奇怪行为

Strange behaviour of autohotkey loop

我正在尝试使用 autohotkey 做一件非常简单的事情:

我试过的脚本是:

#Persistent
Loop,
{
Send {F5}
Sleep, 5000
Send, {WheelDown 6}
Sleep 900000
}

但是由于某些原因,它没有按预期工作。 似乎在发送 WheelDown 后等待并立即重新加载(发送 F5)。 我试过改顺序没用。

请问问题出在哪里?

谢谢!

根据我的评论:

#Persistent
Loop,
{
WinActivate, Your Window Title ; optional, but good practice
Sleep, 250
Send, {F5}
Sleep, 5000
Send, {Click 100, 200, 0} ; adjust the position so over the window
Send, {WheelDown 6}
; Or substitute the prior two lines with (remove the first ;)
; Send, {Down 18} ; adjust the number of lines
Sleep, 900000
}

Hth,