Jump to content

Help generating key combinations


Recommended Posts

Hi all,

I need a way to generate all possible combinations of the alphabet (capital letters only) and the numbers 0-9. I have a two character fragment to recover in a four character key.

Ideally, the autoit script would generate the two characters sequentially and combine them with two constant characters that I already know and then input them where the mouse cursor is (one at a time) with a pause in between.

For example: AAXX ABXX ACXX... A1XX A2XX A3XX... BAXX BBXX BCXX... B1XX B2XX B3XX and so on (I know what goes in the 3rd and 4th position of the key).

Thanks in advance. Hope this post is not confusing.

ZG

Link to comment
Share on other sites

  • Moderators

Functions you may want to look at:

Func/EndFunc

While/WEnd

Do/Until

For/Next

If/Then

Select/EndSelect

Switch/EndSwitch

Opt('MouseCoordMode')

MouseGetPos()

Random

Chr

Asc

And possibly some of the String Functions

Edited by SmOke_N

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
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
 Share

  • Recently Browsing   0 members

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