Jump to content

Random Send


Recommended Posts

Hey Guys(and Gals),

Just wondering if there is a way to make a random sleep time within two time intervals.

Say like this,

Send("q")

sleep(5000-8000)

I know that's not correct but you get the idea. Just wanting it to click the q key at a random time between 5 and 8 seconds. Any input would help, thanks!

Link to comment
Share on other sites

Sleep(Random (5000,8000)) ?

Edit: Also, if you would have searched The helpfile for "random" you would have found the command in just a sec. You should really take advantage of the helpfile, it's one of the things that make AutoIT so great

Edited by colafrysen
[font="Impact"]Use the helpfile, It´s one of the best exlusive features of Autoit.[/font]http://support.microsoft.com/kb/q555375ALIBI Run - a replacement for the windows run promptPC Controller - an application for controlling other PCs[size="1"]Science flies us to the moon. Religion flies us into buildings.[/size][size="1"]http://bit.ly/cAMPZV[/size]
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...