Autoit 自动化安装软件
DirCreate("d:\办公安装软件")
FileInstall("QQ5.exe","d:\办公安装软件\")
Run("d:\办公安装软件\QQ5.exe")
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)
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")
WinWaitActive("腾讯QQ安装向导","")
WinActivate("腾讯QQ安装向导","")
Send("!I")
ControlClick("腾讯QQ安装向导","自定义安装选项","[CLASS:Button; INSTANCE:6]","left",1)
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