Jump to content

Recommended Posts

Posted

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
Posted
  • Int(Rand($a, $b + 1)) returns a random number from $a to $b
  • 4 hours = 4 * 60 minutes = 240 minutes
  • 1000 miliseconds = 1 second
  • 1 minute = 60 seconds
I'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.

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
×
×
  • Create New...