|
发表于 2011-6-20 17:37:28
|
显示全部楼层
#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 |
|