我怎样才能更快地完成这个循环

时间:2017-07-15 23:49:23

标签: autoit

theres是一种在autoit中使这个循环更快的方法

#include <AutoItConstants.au3>

Local $i = 0
Do

Opt("MouseClickDelay", 0)
MouseClick ( "left",1133,583,1,0)

Opt("MouseClickDelay", 0)
MouseClick ( "left",1120,204,1,0)
$i = $i + 1
Until $i = 100000

1 个答案:

答案 0 :(得分:0)

试试这个:

Opt("MouseClickDelay", 0)
Opt("MouseClickDownDelay", 1)

For $i = 0 To 100000
    MouseClick("left", 1133, 583, 1, 0)
    MouseClick("left", 1120, 204, 1, 0)
Next