Jump to content

theos

Member
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Turkey

About theos

theos's Achievements

0

Reputation

  1. function getWin(win, inc) { var cntr = 0; while (!WshShell.AppActivate(win)) { if (cntr==12) return true; cntr++; WScript.Sleep(inc); } return true; } var WshShell = new ActiveXObject("WScript.Shell"); var oExec = WshShell.Exec("adawarese.exe"); while (oExec.Status == 0) { WScript.Sleep(2000); getWin("Adaware Setup", 300); WshShell.SendKeys ("{ENTER}"); WScript.Sleep(500); WshShell.SendKeys ("{TAB 2}"); WScript.Sleep(500); WshShell.SendKeys (" "); WScript.Sleep(500); WshShell.SendKeys ("{ENTER}"); WScript.Sleep(500); WshShell.SendKeys ("{ENTER}"); WScript.Sleep(500); WshShell.SendKeys ("{ENTER}"); WScript.Sleep(500); WshShell.SendKeys ("{ENTER}"); WScript.Sleep(2000); WshShell.SendKeys ("{TAB}"); WScript.Sleep(500); WshShell.SendKeys (" "); WshShell.SendKeys ("{TAB}"); WScript.Sleep(500); WshShell.SendKeys (" "); WshShell.SendKeys ("{TAB}"); WScript.Sleep(500); WshShell.SendKeys (" "); WScript.Sleep(1000); WshShell.SendKeys ("%{F4}"); } WScript.quit();
×
×
  • Create New...