MasonMill Posted August 12, 2009 Share Posted August 12, 2009 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 More sharing options...
colafrysen Posted August 12, 2009 Share Posted August 12, 2009 (edited) 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 August 12, 2009 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 More sharing options...
MasonMill Posted August 12, 2009 Author Share Posted August 12, 2009 Ah, thank you very much. Yes I will go read up on it in the help file now for the more advanced features if any right now. Thanks again! 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