找回密码
 加入
搜索
查看: 2178|回复: 2

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

[复制链接]
发表于 2010-10-18 14:00:36 | 显示全部楼层 |阅读模式
本帖最后由 tcpuuu 于 2010-10-19 17:52 编辑

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

评分

参与人数 1金钱 +20 收起 理由
afan + 20

查看全部评分

发表于 2010-10-20 04:43:31 | 显示全部楼层
楼上正解,和我的想法一样!继续顶,为了金牌!
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-6-2 23:51 , Processed in 0.080548 second(s), 27 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表