- '“指定的时间” 秒
- WaitTime = 60
- wndws = array("手机玩QQ", "无线QQ使用向导", "记事本")
- StartTime = Timer
- set qq = createobject("wscript.shell")
- while Timer - StartTime < WaitTime
- for each wndw in wndws
- while qq.appactivate(wndw)
- wscript.sleep 36
- qq.sendkeys "%{f4}"
- wscript.sleep 36
- wend
- next
- wscript.sleep 36
- wend
- wscript.quit
复制代码
[ 本帖最后由 Spring 于 2010-6-11 09:51 编辑 ] |