Jump to content
Sign in to follow this  

random generator,copy and paste

Recommended Posts

Hi all!

i need a random key(number) generator


numbers:0 to 9

i need a special thing:

copy this(but not every number only xxxx or xxxxxx or ... ) and paste it(to x,y cord or into window/box or somewhere)

generate xxxx



generate xxxxxx




generate xxxx-xxxxxx-xxxxx-xxxxxx-xxxx

copy xxxx


copy xxxxxx



and repeat it

It's possible?

Suggestions welcome.

Share this post

Link to post
Share on other sites

Welcome to AutoIt. :)

This is a very easy script, and good choice for learning AutoIt with. Look in the help file for the example scripts under Random(), and ControlSetText(). For setting the data into the input boxes with ControlSetText() you'll learn to identify the window and control you want to change.

Take a shot at it and post what you get. You'll get lots of help if it doesn't work.


P.S. It can be done by X/Y coordinates if you must, but that's actually the hard way.

Edited by PsaltyDS

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law

Share this post

Link to post
Share on other sites

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...