|
本帖最后由 414590400 于 2011-8-14 07:09 编辑
自动安装WPS过程中,弹出一个WPS网页,脚本自动停止,不知怎么处理
不行啊,现在我贴出我的脚本 大家给看一下
#region ---Au3Recorder generated code Start ---
Opt("WinWaitDelay",100)
Opt("WinDetectHiddenText",1)
Opt("MouseCoordMode",0)
Run('WPS_6.6.0.2877.exe')
_WinWaitActivate("WPS Office 个人版","")
MouseClick("left",359,343,1)
_WinWaitActivate("快盘-网络存储|网络硬盘|网络U盘 - Microsoft Internet Explorer","")
MouseClick("left",792,15,1)
_WinWaitActivate("WPS Office 个人版","")
MouseClick("left",367,248,1)
_WinWaitActivate("WPS 文字 - [首页]","")
MouseClick("left",943,15,1)
#region --- Internal functions Au3Recorder Start ---
Func _WinWaitActivate($title,$text,$timeout=0)
WinWait($title,$text,$timeout)
If Not WinActive($title,$text) Then WinActivate($title,$text)
WinWaitActive($title,$text,$timeout)
EndFunc
#endregion --- Internal functions Au3Recorder End ---
#endregion --- Au3Recorder generated code End --- |
|