Sign in to follow this  
Followers 0
crazynight

Random character

2 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

$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]

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  
Followers 0