|
安装到最后弹出两个窗口 一个是浏览器的窗口 一个是安装此软件的文件目录
怎么解决!
以下是我写的 看看哪里要修改 请前辈请教
Run( "kmplayer2009.exe")
TrayTip( "正在安装","kmplayer2009.exe,请稍后......",10,1)
Sleep(1000)
WinWaitActive("KMPlayer中文版 2009RC3 安装", "欢迎使用“KMPlayer中文版 2009RC3”安装向导")
controlclick("KMPlayer中文版 2009RC3 安装", "","Button2" )
WinWaitActive("KMPlayer中文版 2009RC3 安装 ", "许可证协议")
controlclick("KMPlayer中文版 2009RC3 安装 ", "","Button2" )
WinWaitActive("KMPlayer中文版 2009RC3 安装", "安装百度工具栏")
controlclick("KMPlayer中文版 2009RC3 安装", "","Button4" )
controlclick("KMPlayer中文版 2009RC3 安装", "","Button2" )
WinWaitActive("KMPlayer中文版 2009RC3 安装 ", "选择安装位置")
controlclick("KMPlayer中文版 2009RC3 安装 ", "","Button2" )
WinWaitActive("The KMPlayer Wizard", "下一步(&E) >")
controlclick("The KMPlayer Wizard", "","TTntButton.UnicodeClass2" )
WinWaitActive("The KMPlayer Wizard", "常规使用 (推荐)")
controlclick("The KMPlayer Wizard", "","TTntButton.UnicodeClass2" )
WinWaitActive("The KMPlayer Wizard", "使用内部解码器 (推荐)")
controlclick("The KMPlayer Wizard", "","TTntButton.UnicodeClass2" )
WinWaitActive("The KMPlayer Wizard", "下一步(&E) >")
controlclick("The KMPlayer Wizard", "","TTntButton.UnicodeClass2" )
WinWaitActive("The KMPlayer Wizard", "使用内部解码器 (推荐)")
controlclick("The KMPlayer Wizard", "","TTntButton.UnicodeClass2" )
WinWaitActive("The KMPlayer Wizard", "经典样式")
controlclick("The KMPlayer Wizard", "","TTntButton.UnicodeClass2" )
WinWaitActive("The KMPlayer Wizard", "开启相册")
controlclick("The KMPlayer Wizard", "","TTntCheckBox.UnicodeClass1" )
controlclick("The KMPlayer Wizard", "","TTntButton.UnicodeClass2" )
WinWaitActive("The KMPlayer Wizard", "下一步(&E) >")
controlclick("The KMPlayer Wizard", "","TTntButton.UnicodeClass2" )
WinWaitActive("The KMPlayer Wizard", "下一步(&E) >")
controlclick("The KMPlayer Wizard", "","TTntButton.UnicodeClass2" )
WinWaitActive("The KMPlayer Wizard", "在向导关闭后运行播放器")
controlclick("The KMPlayer Wizard", "","TTntCheckBox.UnicodeClass18" )
controlclick("The KMPlayer Wizard", "","TTntButton.UnicodeClass2" )
AdlibEnable("KillProcess")
sleep(2000)
If ProcessExists("iexplore.exe") Then
ProcessClose("iexplore.exe")
EndIf
controlclick("KMPlayer中文版 2009RC3 安装 ", "","Button4" )
controlclick("KMPlayer中文版 2009RC3 安装 ", "","Button2" ) |
|