autoitNOW 0 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 Share this post Link to post Share on other sites
pekster 0 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. Share this post Link to post Share on other sites