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("setup.exe");
while (oExec.Status == 0)
{
WScript.Sleep(500);
getWin("Enter WindowBlinds Serial Number", 3000);
WshShell.SendKeys ("xx-xxxxxxxxxxxxxxxxxxxxx-xxxxxxxxxx");
WScript.Sleep(500);
WshShell.SendKeys ("{ENTER}");
}
WScript.quit();
attached is a pic of what the installation screen looks liek incase you needed to know.
Attached File(s)
-
a2j_wb.jpg (72.24K)
Number of downloads: 24



Help

Back to top








