最新版360卫士安装 重装 一次装
本帖最后由 a2295926 于 2011-5-3 10:59 编辑请大家多多指教{:face (303):}$t=" 360安全卫士 8.0.0.1003 安装"
$T2="下一步(&N) >"
Run("360安全卫士8.0beta.exe")
While 1
Select
Case WinExists("360安全卫士","是")
WinWaitActive("360安全卫士","是")
ControlClick("360安全卫士","是","Button2")
winWaitActive($t,"欢迎使用“360安全卫士”安装向导")
controlClick($t,"欢迎使用“360安全卫士”安装向导","Button2")
ExitLoop
Case WinExists($t,"欢迎使用“360安全卫士”安装向导")
winWaitActive($t,"欢迎使用“360安全卫士”安装向导")
controlClick($t,"欢迎使用“360安全卫士”安装向导","Button2")
ExitLoop
EndSelect
WEnd
While 1
Select
Case WinExists ($t,"接受并安装")
WinWaitActive($t,"最终用户授权协议")
ControlClick($t,"接受并安装","Button2")
ExitLoop
Case WinExists ($t,"我接受(&I)")
WinWaitActive($t,"我接受(&I)")
ControlClick($t,"我接受(&I)","Button2")
WinWaitActive($t,"请选择安装位置")
ControlClick($t,"请选择安装位置","安装(&I)")
ControlClick($t,"请选择安装位置" ,"Button2")
ExitLoop
EndSelect
WEnd
While 1
Select
Case WinExists("360安全卫士 安装","取消(&C)")
WinWaitActive("360安全卫士 安装","取消(&C)"); 新版第一次安装会问您是否安装360浏览器之后不再问了!
ControlClick("360安全卫士 安装","取消(&C)","Button4");装了360浏览器不会出现!
WinWait($t,"通过新的托盘图标打开卫士")
Sleep(100)
WinWaitActive($t,$T2)
ControlClick($t,$T2,"Button2")
ExitLoop
Case WinExists($t,"通过新的托盘图标打开卫士")
WinWait($t,"通过新的托盘图标打开卫士")
Sleep(100)
WinWaitActive($t,$T2)
ControlClick($t,$T2,"Button2")
ExitLoop
EndSelect
WEnd
WinWaitActive($t,"完成(&F)")
ControlClick($t,"完成(&F)","Button2")
Sleep(500)
If WinExists($t,"否(&N)") Then ControlClick($t,"否(&N)","Button2")有个问题无法进行这一步 请大虾帮帮手 以前,我发过这个贴子,貌似还没有人弄到解决办法,呵呵 360还是有点麻烦的
页:
[1]