crazynight Posted July 30, 2007 Share Posted July 30, 2007 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 More sharing options...
Skrip Posted July 30, 2007 Share Posted July 30, 2007 (edited) $plain = Chr(Random(65, 90)) Generates a CAPITAL letter. $plain = Random(1, 100) Generates a number from 1-100. Edited July 30, 2007 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now