0

我尝试运行这个脚本

Set WshShell = WScript.CreateObject("WScript.Shell")
WshShell.Run "notepad"
WScript.Sleep 500
For i = 1 To 20
  WshShell.SendKeys "AFK"
  WScript.Sleep 400
  WshShell.SendKeys "{ENTER}"
Next

但我不知道如何杀死我在任务栏管理中看不到进程的进程有没有办法在我的任务栏上看到该进程?我也试试这个

 Dim oShell : Set oShell = CreateObject("WScript.Shell")
 ' Kill'
 oShell.Run "taskkill /im  Cscript.exe", , True
 oShell.Run "taskkill /im  wscript.exe", , True

但它不会停止打字。

4

0 回答 0