$title="MaxDOS 8 安装程序"
$title2="MaxDOS 安装程序"
Run("MaxDos8.exe")
WinWaitActive($title)
ControlClick($title,"下一步(&N) >","Button3")
Sleep(200)
WinWaitActive($title2)
ControlClick($title2,"我同意该许可协议的条款","Button3")
Sleep(100)
ControlClick($title2,"下一步(&N) >","Button1")
WinWaitActive($title2)
ControlClick($title2,"下一步(&N) >","Button1")
Sleep(100)
ControlSetText($title2,"","Edit1","0")
WinWaitActive($title2)
ControlClick($title2,"下一步(&N) >","Button1")
Sleep(200)
WinWaitActive("MaxDOS 安装程序","创建一个用于存放备份镜像的文件夹在 D:\MaxBAK")
ControlClick("MaxDOS 安装程序","下一步(&N) >","Button1")
Sleep(200)
WinWaitActive(" MaxDOS 安装程序")
ControlClick(" MaxDOS 安装程序","设置百度为首页及百度IE纠错插件。","Button34")
ControlClick(" MaxDOS 安装程序","下一步(&N) >","Button1")
WinWaitActive(" MaxDOS 8 已经安装成功。")
ControlClick(" MaxDOS 8 已经安装成功。","完成(&F)","Button1") |