我不知道如何让鼠标每秒以不同的速度下拉。
我尝试添加不同的睡眠值,这会改变我的鼠标在整个脚本中下拉的力度,但它不起作用,它只会以一个设定的速率下拉。
function OnEvent(event, arg)
if IsKeyLockOn("scrolllock" )then
if IsMouseButtonPressed(1) then
repeat
MoveMouseRelative(0,1)
Sleep(8)
MoveMouseRelative(0,1)
Sleep(7)
until not IsMouseButtonPressed(1)
end
end
end
我期待鼠标以一个速率下拉,然后在一秒钟后更用力地下拉,但结果只是一个固定速率。