|
按照au3帮助文件安装winzip新版本(http://www.winzip.com/win/en/downwz.htm)的时候
自己写的脚本在安装运行后的下一步也就是第二行就过不去了,请教不知道什么问题(和标题的名字有关么,我记得用au3采集的title 里面是WinZip® 16.0 Setup有个圆圈R 我那个没有会有影响么)
代码如下:
Run("winzip16-64.exe")
WinWaitActive("WinZip 16.0 Setup","&Setup")
Send("!s")
WinWaitActive("WinZip Setup - WinZip Browser Toolbar","Continue")
Send("{ENTER}")
WinWaitActive("WinZip Setup - Kaspersky Security Scan","Continue")
Send("{ENTER}")
WinWaitActive("WinZip 16.0 Setup","&Next")
Send("!n")
WinWaitActive("WinZip 16.0 Setup","I &accept the license agreement")
ControlClick("WinZip 16.0 Setup","I &accept the license agreement","Button3")
Send("!n")
WinWaitActive("WinZip 16.0 Setup","&Next")
Send("!n")
WinWaitActive("WinZip 16.0 Setup","&Next")
Send("!n")
WinWaitActive("WinZip 16.0 Setup","&Next")
Send("!n")
WinWaitActive("WinZip 16.0 Setup","&Next")
Send("!n")
WinWaitActive("WinZip 16.0 Setup","WinZip 16.0 has been successfully installed.")
Send("{ENTER}")
WinWaitActive("WinZip Setup - Install WinZip Courier (optional)","You can also choose to install the evaluation version of WinZip Courier")
Send("{ENTER}") |
|