|
谁能帮写一个酷我音乐盒的自动安装到D盘我是新学的还不会
run("kuwo2011.exe")
WinWaitActive("酷我音乐盒 2011 安装","欢迎使用 酷我音乐盒 2011 安装向导")
ControlClick("酷我音乐盒 2011 安装","下一步","Button2")
WinWaitActive("酷我音乐盒 2011 安装","许可协议")
ControlClick("酷我音乐盒 2011 安装","我同意","Button2")
WinWaitActive("酷我音乐盒 2011 安装","目标文件夹")
ControlSetText("酷我音乐盒 2011 安装","目标文件夹","Button6","d:\Program Files\KWMUSIC")
(上面那个控件获得不到安装不到D盘,不知道怎么写,http://mbox.kuwo.cn/这是官网最新版本的)
ControlClick("酷我音乐盒 2011 安装","下一步","Button2")
WinWaitActive("酷我音乐盒 2011 安装","我要安装百度工具栏")
ControlClick("酷我音乐盒 2011 安装","我要安装百度工具栏","Button4")
ControlClick("酷我音乐盒 2011 安装","安装","Button2")
WinWaitActive("酷我音乐盒 2011 安装","完成 酷我音乐盒 2011 安装向导")
ControlClick("酷我音乐盒 2011 安装","立即运行酷我音乐盒","Button4")
ControlClick("酷我音乐盒 2011 安装","开机自动运行酷我音乐盒","Button5")
ControlClick("酷我音乐盒 2011 安装","抢先体验酷我音乐盘","Button7")
ControlClick("酷我音乐盒 2011 安装","360安全产品","Button8")
ControlClick("酷我音乐盒 2011 安装","完成","Button2") |
|