找回密码
 加入
搜索
查看: 3498|回复: 1

[原创] QQGame2011自动安装脚本,分享一下

[复制链接]
发表于 2011-4-26 00:54:25 | 显示全部楼层 |阅读模式
今天研究两个小时AUTOIT V3,才做出了这个小脚本,由于是初次接触,做的比较慢,经过几个纠正才成功,跟大家分享一下。


dim $t="QQ游戏"
run ("QQGame2011.exe")

WinWaitActive($t)
ControlClick($t,"","Button2")
WinWaitActive($t)
ControlClick($t,"","Button2")
WinWaitActive($t)
ControlSetText($t,"选择安装位置","Edit1","C:\QQGAME\")
ControlClick($t,"","Button2")

WinWaitActive($t)
ControlClick($t,"","Button4")
WinWaitActive($t,"已完成")
ControlClick($t,"","Button2")

WinWaitActive($t)
ControlClick($t,"","Button4")
ControlClick($t,"","Button5")
ControlClick($t,"","Button7")
ControlClick($t,"","Button2")
WinWaitActive($t)
ControlClick($t,"","Button4")
ControlClick($t,"","Button2")

Exit
发表于 2011-4-26 08:53:57 | 显示全部楼层
顶楼主,支持新手学习
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-12-22 11:27 , Processed in 0.071143 second(s), 20 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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