Jump to content

Random character


Recommended Posts

I was wondering if there is a function that generates a random character and number. I am working on an autosubmitter for my DES database and need just a bunch of random text. Here is my code so far.

HotKeySet("+!m", "start")

$plain="a34"

While 1

Sleep(100)

WEnd

Func start()

While 1

Sleep(2000)

MouseClick("left",269,653 ,1)

Send ( $plain , 1 )

MouseClick("left",302,649 ,1)

Sleep(2000)

WEnd

EndFunc

Link to comment
Share on other sites

$plain = Chr(Random(65, 90)) Generates a CAPITAL letter.

$plain = Random(1, 100) Generates a number from 1-100.

Edited by Firestorm

[left][sub]We're trapped in the belly of this horrible machine.[/sub][sup]And the machine is bleeding to death...[/sup][sup][/sup][/left]

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