Jump to content
svenjatzu

mouseclick on 2 from 3 points randomly

Recommended Posts

HI again

im looking for a way to click on 2 of 3 random coordinates in a loop

what i got is this but it clicks every time on all the 3 coords.


while (1)
MouseClick("left", Random(120, 155, 1), Random(729, 767, 1), 1)
Sleep (Random(80, 130, 1))

MouseClick("left", Random(485, 528, 1), Random(495, 542, 1), 1)
Sleep (Random(2000, 2500, 1))

MouseClick("left", Random(585, 628, 1), Random(795, 842, 1), 1)
Sleep (Random(2000, 2500, 1))
WEnd

 

and this also doenst work the way i want it.

the given coords are not the coords where it should go.

 

maybe it could be done like this:?

 

coord1= random func1 func2

coord2= random func1 func3

coord3= random func2 func3

func1=MouseClick("left", Random(120, 155, 1), Random(729, 767, 1), 1)

func2=MouseClick("left", Random(220, 255, 1), Random(729, 767, 1), 1)

func3=MouseClick("left", Random(320, 355, 1), Random(729, 767, 1), 1)

 

someone can please help me with this?

Share this post


Link to post
Share on other sites

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...