返回列表 发帖
  1. Dim strPrgpth
  2. strPrgpth = """e:\工具\武侠.exe"""
  3. Set wshshell = CreateObject("wscript.shell")
  4. Set oexec = wshshell.exec(strPrgpth)
  5. t=timer
  6. do while timer-t<160
  7.     wscript.sleep 1000
  8.     wshshell.Sendkeys "{ENTER}"
  9.     wscript.sleep 30000
  10.     wshshell.Sendkeys "{ENTER}"
  11. loop
  12. process.Terminate
复制代码
『千江有水千江月』千江有水,月映千江;万里无云,万里青天。    http://yu2n.qiniudn.com/

TOP

  1. Dim strPrgpth
  2. strPrgpth = """%WinDir%\NOTEPAD.EXE"""
  3. Set wshshell = CreateObject("wscript.shell")
  4. Set oexec = wshshell.exec(strPrgpth)
  5. t = Timer
  6. Do While Timer - t < 5
  7.     wscript.sleep 1000
  8.     wshshell.Sendkeys "{ENTER}"
  9.     wscript.sleep 3000
  10.     wshshell.Sendkeys "{ENTER}"
  11. loop
  12. oexec.Terminate
复制代码
1

评分人数

    • hnldwhm52: 谢谢yu2n老师解决!!技术 + 1
『千江有水千江月』千江有水,月映千江;万里无云,万里青天。    http://yu2n.qiniudn.com/

TOP

返回列表