|
发表于 2010-5-8 01:18:23
|
显示全部楼层
试一下,下面的。
用不着WinWaitActive,WinWaitActive在有其它操作的时候很可能点不到.
run ("d:\wb86-98.EXE")
winwait("微软拼音输入法(2.0)","请仔细阅读")
ControlClick("微软拼音输入法(2.0)","请仔细阅读","[class:Button;INSTANCE:2]")
winwait("中文输入法组件安装程序","请从选项列表")
ControlClick("中文输入法组件安装程序","请从选项列表",'ListBox1',"left",1,10,25) ;就是这里
winwait("中文输入法组件安装程序","请从选项列表")
ControlClick("中文输入法组件安装程序","请从选项列表","[class:Button;INSTANCE:1]")
winwait("王码五笔型输入法","请仔细阅读")
ControlClick("王码五笔型输入法","请仔细阅读","[class:Button;INSTANCE:1]")
controlclick("中文输入法组件安装程序","请单击","[class:Button;INSTANCE:1]") |
|