Brando569 Posted May 8, 2004 Share Posted May 8, 2004 hey ppl, i was just wondering what things i needed to edit in the adaware.js script for it to do the same thing for windowblinds 4 enchanced? i have no idea about Java Script so i need help here.. i tried modifying the script and executing it via a batch file but windows XP gives me this error "Please go to the control panel to install and configure system components" yet it worked perfectly with ad-aware (and yes i do have it windows scripting host executing it) this is basically what my modified script looks like (its basically the same thing): 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. Link to comment Share on other sites More sharing options...
mazin Posted June 26, 2004 Share Posted June 26, 2004 Ooops!How come I didn't see your post!Here you are: http://www.msfn.org/board/index.php?showtopic=21333 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now