tcpuuu 发表于 2010-10-18 14:00:36

[已解決]求助! 重複執行命令 連續進行100次 該如何敘述?

本帖最后由 tcpuuu 于 2010-10-19 17:52 编辑

Sleep(15000)
WinActivate("Windows Internet Explorer", "")
ControlClick ("Windows Internet Explorer", "確定", "Button1","left")
----------------------------------------------------------------------------------------
我想要 每隔15秒 重複執行 以上命令 連續進行100次
該如何敘述?

zps26 发表于 2010-10-18 14:32:44

Local $i
for $i=1 to 100
Sleep(15000)
WinActivate("Windows Internet Explorer", "")
ControlClick ("Windows Internet Explorer", "確定", "Button1","left")
next

qq123123 发表于 2010-10-20 04:43:31

楼上正解,和我的想法一样!继续顶,为了金牌!
页: [1]
查看完整版本: [已解決]求助! 重複執行命令 連續進行100次 該如何敘述?