Jump to content

Roko

Members
  • Posts

    2
  • Joined

  • Last visited

Roko's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Made a little syntax before the mouseclick cmd and added a while wend, this shuffled clicks but repeated them, i could use this too. thankyou. Worked like a charm exactly what i was expecting..included a sleep timer and checked it too.. Thankyou. Wish i could find a good autoit tutorial, so far ive been catching up on bits and parcels here and there.
  2. 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
×
×
  • Create New...