回复 1# lostyi - dim program
- program="...\xxx.exe"
-
- set wshell=createobject("wscript.shell")
- wshell.run """program""",1
- wscript.sleep 3000 '3秒
- wshell.appactivate "登录窗口标题"
-
- wscript.Sleep 2000
- Wshell.SendKeys "{TAB}"
- wscript.Sleep 200
- Wshell.SendKeys "xxx"
- wscript.Sleep 200
- Wshell.SendKeys "{ENTER}"
复制代码
|