|
楼主 |
发表于 2008-10-29 08:58:13
|
显示全部楼层
不好意思,昨天自己找到原因了,发上来,已经解决
Run("chvoice_m.exe")
WinWaitActive("中文女声语音库 3.0 InstallShield Wizard", "欢迎使用 中文女声语音库 3.0 InstallShield Wizard")
Send("!N")
If WinActive("中文女声语音库 3.0 InstallShield Wizard", "程序维护") Then
WinWaitActive("中文女声语音库 3.0 InstallShield Wizard", "程序维护")
Send("!P")
Send("!N")
WinActivate("中文女声语音库 3.0 InstallShield Wizard", "已做好修复程序的准备")
Send("!I")
WinWaitActive("中文女声语音库 3.0 InstallShield Wizard", " InstallShield Wizard完成")
Send("!F")
ElseIf WinActive("中文女声语音库 3.0 InstallShield Wizard", "许可证协议") Then
WinWaitActive("中文女声语音库 3.0 InstallShield Wizard", "许可证协议")
Send("!A")
Send("!N")
WinWaitActive("中文女声语音库 3.0 InstallShield Wizard", "用户信息")
Send("!N")
WinWaitActive("中文女声语音库 3.0 InstallShield Wizard", "已做好安装程序的准备")
Send("!I")
WinWaitActive("中文女声语音库 3.0 InstallShield Wizard", " InstallShield Wizard完成")
Send("{TAB}")
Send("{SPACE}")
Send("!F")
EndIf
Run("register_m.exe")
WinWaitActive("中文女声语音库 3.0 [多机版] 注册程序", "shwinning")
ControlClick("中文女声语音库 3.0 [多机版] 注册程序","","Button1")
WinWaitActive("中文女声语音库 3.0 [多机版] 注册程序", "注册认证成功.")
ControlClick("中文女声语音库 3.0 [多机版] 注册程序","","Button2")
Exit |
|