autoitNOW Posted July 9, 2004 Share Posted July 9, 2004 How would use AutoIt to build a script that executes a program at a random time between.... let's say 1 minute to 4 hours? An ADVOCATE for AutoIT Link to comment Share on other sites More sharing options...
pekster Posted July 9, 2004 Share Posted July 9, 2004 Int(Rand($a, $b + 1)) returns a random number from $a to $b4 hours = 4 * 60 minutes = 240 minutes1000 miliseconds = 1 second1 minute = 60 secondsI'll let you figure out the rest. [font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes. 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