本帖最后由 kn007 于 2009-6-16 13:19 编辑
我只知道你很傻,我一下就行,源码如下#NoTrayIcon
Run(@ScriptDir & "\acdc31sr1.exe")
$hd="ACDSee"
WinWait($hd,"欢迎使用")
WinWaitActive($hd,"欢迎使用")
ControlClick($hd,"下一步(&N) >","Button2")
WinWait($hd,"许可协议")
WinWaitActive($hd,"许可协议")
ControlClick($hd,"我同意(&I)","Button2")
WinWait($hd,"选定组件")
WinWaitActive($hd,"选定组件")
ControlClick($hd,"下一步(&N) >","Button2")
WinWait($hd,"个性化设置")
WinWaitActive($hd,"个性化设置")
ControlClick($hd,"下一步(&N) >","Button2")
WinWait($hd,"选定安装位置")
WinWaitActive($hd,"选定安装位置")
ControlSetText($hd,"","Edit1","D:\Program Files\ACDSee")
ControlClick($hd,"安装(&I)","Button2")
WinWait($hd,"完成")
WinWaitActive($hd,"完成")
ControlClick($hd,"完成(&F)","Button2")
|