sfamonkey Posted July 28, 2004 Posted July 28, 2004 Hi. I want to install AVG with my windows install. So I was going to use .js to do all the clicking and stuff. Is it possible to have a .js script past a serial number in a box. If so how?
jdoe Posted July 29, 2004 Posted July 29, 2004 You do it the same way of the other clicking and stuff...Just enter the numbers or letters of a serial one by one with SendKeysvar WSS = WScript.CreateObject("WScript.Shell");WSS.Run("PROGRAM.EXE");WScript.Sleep(500);WSS.SendKeys("{1}");WSS.SendKeys("{2}");WSS.SendKeys("{3}");WSS.SendKeys("{4}");WSS.SendKeys("{-}");WSS.SendKeys("{5}");WSS.SendKeys("{6}");WSS.SendKeys("{ENTER}");
DarkPhoenix Posted July 29, 2004 Posted July 29, 2004 You're not asking, but I'd just like to say that an AutoIt Script will do the job much better.
sfamonkey Posted July 29, 2004 Author Posted July 29, 2004 but I'd just like to say that an AutoIt Script will do the job much better.What is an AutoIt Script and is it easy to right. Cause I think I'm going to make scripts for all the programs I install so I can set them up my own way.
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