Jump to content

Recommended Posts

Posted

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?


Posted

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 SendKeys

var 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}");

:)

Posted
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.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...