Autoit 自动化安装软件

发布时间:2020-05-29 10:55:49 作者:hfzhoulin
来源:网络 阅读:3475


DirCreate("d:\办公安装软件")

FileInstall("QQ5.exe","d:\办公安装软件\")

Run("d:\办公安装软件\QQ5.exe")

Autoit 自动化安装软件

WinWaitActive("腾讯QQ安装向导","在安装软件前, 请仔细阅读下面的软件许可协议和青少年上网安全指引。")

WinActivate("腾讯QQ安装向导","在安装软件前, 请仔细阅读下面的软件许可协议和青少年上网安全指引。")

ControlClick("腾讯QQ安装向导","","[CLASS:Button; INSTANCE:1]","left",1)

;ControlClick("腾讯QQ安装向导","","[CLASS:Button; INSTANCE:2]","left",1)

Sleep(1000)

Send("!N")


WinWaitActive("腾讯QQ安装向导","")

WinActivate("腾讯QQ安装向导","")

Sleep(1000)

Autoit 自动化安装软件

Autoit 自动化安装软件

ControlClick("腾讯QQ安装向导","自定义安装选项","[CLASS:Button; INSTANCE:1]","left",1)

ControlClick("腾讯QQ安装向导","自定义安装选项","[CLASS:Button; INSTANCE:2]","left",1)

ControlClick("腾讯QQ安装向导","自定义安装选项","[CLASS:Button; INSTANCE:3]","left",1)

ControlClick("腾讯QQ安装向导","自定义安装选项","[CLASS:Button; INSTANCE:4]","left",1)

ControlClick("腾讯QQ安装向导","自定义安装选项","[CLASS:Button; INSTANCE:5]","left",1)

ControlClick("腾讯QQ安装向导","自定义安装选项","[CLASS:Button; INSTANCE:6]","left",1)

ControlClick("腾讯QQ安装向导","自定义安装选项","[CLASS:Button; INSTANCE:7]","left",1)

ControlClick("腾讯QQ安装向导","自定义安装选项","[CLASS:Button; INSTANCE:8]","left",1)

Send("!N")

Autoit 自动化安装软件

WinWaitActive("腾讯QQ安装向导","")

WinActivate("腾讯QQ安装向导","")

Send("!I")

ControlClick("腾讯QQ安装向导","自定义安装选项","[CLASS:Button; INSTANCE:6]","left",1)

Autoit 自动化安装软件

WinWaitActive("腾讯QQ安装向导","安装完成")

WinActivate("腾讯QQ安装向导","安装完成")

ControlClick("腾讯QQ安装向导","安装完成","[CLASS:Button; INSTANCE:1]","left",1)

ControlClick("腾讯QQ安装向导","安装完成","[CLASS:Button; INSTANCE:3]","left",1)

ControlClick("腾讯QQ安装向导","安装完成","[CLASS:Button; INSTANCE:4]","left",1)

Send("!f")





感谢 AU3爱好者联盟入门教程(PDF和WORD版本).rar 

     思远技术论坛AU3教程.pdf

     autoit中文论坛.exe

     http://blog.163.com/xqb818@126/blog/static/927510502009765165872/

     http://jingyan.baidu.com/article/48a42057c198d4a92425048c.html

     http://zhidao.baidu.com/link?url=pAh9HkT51jv8Qx9pww6J9V0fJyI9TPLqfuJhPYJ6Ux7UTcHkX9Evg5BliuCO1YI03kWABjS5TYth6-9DFJJLlq

     

推荐阅读:
  1. 14.WinForm练习--双击listBox文件名,播放音乐
  2. python+selenium+autoit实现文件上传

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

blog 软件 autoit

上一篇:PHP实现笛卡尔积算法的代码示例

下一篇:django ajax提交 Forbidden CSRF token missing

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》