|
发表于 2009-2-17 09:07:00
|
显示全部楼层
我也写了一个:
run("QQ2009Beta_chs.exe")
winwaitactive("腾讯QQ2009 安装向导","欢迎使用腾讯QQ2009")
controlcommand("腾讯QQ2009 安装向导","欢迎使用腾讯QQ2009","Button1","uncheck","")
controlclick("腾讯QQ2009 安装向导","欢迎使用腾讯QQ2009","Button3")
winwaitactive("腾讯QQ2009 安装向导","请选择使用环境与查杀木马设置")
controlclick("腾讯QQ2009 安装向导","请选择使用环境与查杀木马设置","Button2")
winwaitactive("腾讯QQ2009 安装向导","请选择自定义安装选项与快捷方式选项")
controlcommand("腾讯QQ2009 安装向导","请选择自定义安装选项与快捷方式选项","Button9","uncheck","")
controlcommand("腾讯QQ2009 安装向导","请选择自定义安装选项与快捷方式选项","Button7","uncheck","")
ControlClick("腾讯QQ2009 安装向导","请选择自定义安装选项与快捷方式选项","Button2")
winwaitactive("腾讯QQ2009 安装向导","请选择安装路径")
controlsettext("腾讯QQ2009 安装向导","请选择安装路径","Edit1","D:TencentQQ2009")
controlclick("腾讯QQ2009 安装向导","请选择安装路径","Button2")
winwaitactive("腾讯QQ2009 安装向导","安装完成")
controlcommand("腾讯QQ2009 安装向导","安装完成","Button6","uncheck","")
controlcommand("腾讯QQ2009 安装向导","安装完成","Button7","uncheck","")
controlcommand("腾讯QQ2009 安装向导","安装完成","Button8","uncheck","")
controlclick("腾讯QQ2009 安装向导","安装完成","Button2") |
|