Hi, pretty new to autoit programming and learning.. Here i got a help request for a study project involving the study of randomness on multiple occasions. I need multiple samples, so i thought autoit was the easiest route.
What i need is to have the code be able to shuffle click all(related to analysis of distribution of randomness), but without repeats till one loop ends and again for the next loop.. i managed to compose a randomise click within an area, but stuck on how to shuffle the clicks.
func exitthescript()
Exit
EndFunc
HotKeySet( "{ESC}", "exitthescript" )
while 1
sleep(10)
$posx = Random(930, 1050)
$posy = Random(60, 120)
$posx2 = Random(930, 1050)
$posy2 = Random(120, 180)
$posx3 = Random(930, 1050)
$posy3 = Random(180, 240)
$posx4 = Random(930, 1050)
$posy4 = Random(240, 300)
$posx5 = Random(930, 1050)
$posy5 = Random(300, 360)
$posx6 = Random(930, 1050)
$posy6 = Random(360, 420)
$posx7 = Random(930, 1050)
$posy7 = Random(420, 480)
$posx8 = Random(930, 1050)
$posy8 = Random(480, 540)
MouseClick("left", $posx, $posy, 1, 0)
MouseClick("left", $posx2, $posy2, 1, 0)
MouseClick("left", $posx3, $posy3, 1, 0)
MouseClick("left", $posx4, $posy4, 1, 0)
MouseClick("left", $posx5, $posy5, 1, 0)
MouseClick("left", $posx6, $posy6, 1, 0)
MouseClick("left", $posx7, $posy7, 1, 0)
MouseClick("left", $posx8, $posy8, 1, 0)
WEnd