首页 AAuto

关闭运行的程序

  • yiqingpeng
  • 2015-04-10
  • 0
  •  
import console; import win; import process; if(process.find("calc.exe")){ var ok=win.msgboxTest("发现计算器正在运行, 准备灭杀...") if(ok){ process.kill("calc.exe") console.log("已灭杀..

利用线程ping主机

  • yiqingpeng
  • 2015-04-09
  • 0
  •  
winform.btnPing.oncommand = function(id,event){ winform.btnPing.text = "稍候..." winform.btnPing.disabled = true; var result = win.invoke( function(host){ import process.popen; s