|
自己终于做出了QQ2009.exe的au3,但不知怎么把QQ2009.exe和QQ2009.au3做成能够单独执行的自动安装的QQ?
--------------以下是我与2009-8-10 23:56做出来的代码
Run ("QQ2009.exe")
WinWaitActive ("腾讯QQ2009 安装向导","欢迎使用腾讯QQ2009")
;等待指定窗口被激活后再执行下面的命令
ControlCommand ("腾讯QQ2009 安装向导","欢迎使用腾讯QQ2009","Button1","Check","")
;选中
Send ("!n")
ControlCommand ("腾讯QQ2009 安装向导","请选择自定义安装选项与快捷方式选项","Button8","UnCheck","")
;选空
ControlCommand ("腾讯QQ2009 安装向导","请选择自定义安装选项与快捷方式选项","Button9","UnCheck","")
;选空
ControlCommand ("腾讯QQ2009 安装向导","请选择自定义安装选项与快捷方式选项","Button10","UnCheck","")
;选空
ControlCommand ("腾讯QQ2009 安装向导","请选择自定义安装选项与快捷方式选项","Button11","UnCheck","")
;选空
Send ("!n")
Send ("!i")
WinWaitActive ("腾讯QQ2009 安装向导","安装完成")
;等待指定窗口被激活后再执行下面的命令
ControlCommand ("腾讯QQ2009 安装向导","安装完成","Button6","UnCheck","")
;选空
ControlCommand ("腾讯QQ2009 安装向导","安装完成","Button8","UnCheck","")
;选空
ControlCommand ("腾讯QQ2009 安装向导","安装完成","Button9","UnCheck","")
;选空
ControlCommand ("腾讯QQ2009 安装向导","安装完成","Button7","UnCheck","")
;选空
Send ("!f") |
|