360安全卫士 8.0.0.2001 全自动安装
Run("360.exe")WinWaitActive(" 360安全卫士 8.0.0.2001 安装")
ControlClick(" 360安全卫士 8.0.0.2001 安装","下一步(&N) >","Button2")
WinWaitActive(" 360安全卫士 8.0.0.2001 安装 ")
ControlClick(" 360安全卫士 8.0.0.2001 安装","我接受(&I)","Button2")
WinWaitActive(" 360安全卫士 8.0.0.2001 安装 ")
ControlSetText(" 360安全卫士 8.0.0.2001 安装 ","目标文件夹","Edit1","D:\Program Files\360\360safe")
ControlClick(" 360安全卫士 8.0.0.2001 安装 ","安装(&I)","Button2")
WinWaitActive("360安全卫士 安装")
ControlClick("360安全卫士 安装","安装360安全浏览器并设为默认","Button1")
WinWaitActive(" 360安全卫士 8.0.0.2001 安装 ")
ControlClick(" 360安全卫士 8.0.0.2001 安装 ","完成(&F)","Button2") 占个沙发!! 不错,多谢分享! Button1 Button2Button3 ...
这样的名称是如何知道的呀? #Region ;**** 参数创建于 ACNWrapper_GUI ****
#AutoIt3Wrapper_icon=G:\SoftManager\ico\360safe.ico
#EndRegion ;**** 参数创建于 ACNWrapper_GUI ****
$variable0=" 360安全卫士 8.0.0.2001 安装"
$variable1="欢迎使用“360安全卫士”安装向导"
$variable2="最终用户授权协议"
$variable3="请选择安装位置"
$variable4="360安全卫士 安装"
$variable5="安装360安全浏览器并设为默认"
$variable6="360安全浏览器 安装"
$variable7="360安全浏览器能增强您的上网安全"
$variable8="正在完成“360安全卫士”安装向导"
$directory="D:\Program Files\360\360safe"
Run("360safe正式版.exe")
TrayTip("正在安装","360safe v8.0正式版,请稍等...",5,1)
sleep(500)
WinWaitActive($variable0,$variable1)
ControlClick($variable0,$variable1,"Button2")
WinWaitActive($variable0,$variable2)
ControlClick($variable0,$variable2,"Button2")
WinWaitActive($variable0,$variable3)
ControlSetText($variable0,$variable3,"Edit1",$directory)
sleep(500)
ControlClick($variable0,$variable3,"Button2")
WinWaitActive($variable4,$variable5)
ControlClick($variable4,$variable5,"Button1")
WinWaitActive($variable6,$variable7)
ControlClick($variable6,$variable7,"Button1")
WinWaitActive($variable4,$variable5)
ControlClick($variable4,$variable5,"Button3")
WinWaitActive($variable0,$variable8)
ControlClick($variable0,$variable8,"Button4")
ControlClick($variable0,$variable8,"Button2")
sleep(500)
;Send ("!{F4}")
Exit
楼主在编写 360安全卫士8.0 自动安装脚本时没有遇到这个弹出窗口吗?
这个要如何用AU3来自动检测它是否存在,如果存在,则关闭 忽悠,根本运行不了。很多情况没考虑进去。 呵呵 估计是没测试好
页:
[1]