返回列表 发帖
set Wshell=CreateObject("Wscript.Shell")
set Link = WShell.CreateShortcut(program)
exead=link.targetpath'这是目标的exe的地址

program=zc.exe 这条语句是错的 不知道你是怎么运行成功的

TOP

  1. dim program
  2. program="a.lnk"
  3. set Wshell=CreateObject("Wscript.Shell")
  4. set Link = WShell.CreateShortcut(program)
  5. exead=link.targetpath
  6. Wshell.run(exead)
  7. wscript.Sleep 3000
  8. Wshell.SendKeys "123"
  9. wscript.Sleep 200
  10. Wshell.SendKeys "{TAB}"
  11. wscript.Sleep 200
  12. Wshell.SendKeys "cszlpa"
  13. wscript.Sleep 200
  14. Wshell.SendKeys "{ENTER}"
复制代码
如果你想方便地输入几组账号密码 可能需要一个循环

TOP

返回列表