Jump to content
AC Tool Forums

solefate

Members
  • Content Count

    1
  • Joined

  • Last visited

About solefate

  • Rank
    Newbie
  1. Sorry if this is a stupid question but I havent found my answer yet. Im wondering if there is a way to set a random number of loops - say between 1 and 100 loops I have a script that clicks two buttons with a random delay between but im not sure how to apply that to the loop condition. This is what i have currently but would like to change to random loops as well loop 200 keys ` constants RandomInteger = 0 Maxval = 0 Minval = 0 End SetConst Maxval = 800 Setconst Minval = 150 Compute RandomInteger = int(($Maxval - $Minval + 1) * rnd(1)) + $Minval Delay $RandomInteger keys 1 end
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and to our Privacy Policy.