Search the Community
Showing results for tags 'random variable'.
Found 1 result
Random Variable from array
K3STROS posted a topic in AutoIt General Help and SupportI have 35 variables (as shown below) in an array and i want it to randomly select one, and then another and another and another so on, until all 35 are selected but never selecting the same one twice.. this has been my only issue Global $example[ex1, ex2, ex3....,] Global $ex1 = MouseClick("Left", x1, y1) Global $ex2 = MouseClick("Left", x1, y1) Global $ex3 = MouseClick("Left", x1, y1) ; ect..... Func Something() Random($example) ;35 Times, cant be same var EndFunc Thanks in advance