Jump to content

How to randomize these mouseclicks?


Recommended Posts

mouseclick("left",607,533,1);

How can I write this in my script to make the mouse click randomly in the area of say x 600 to 650 and from y 500 to 550? Just a random click in that area when instructed to instead of the exact same spot each time.

PS- Great board. Have learned alot the last few days reading the manual and reading posts.

Link to comment
Share on other sites

mouseclick("left",607,533,1);

How can I write this in my script to make the mouse click randomly in the area of say x 600 to 650 and from y 500 to 550?  Just a random click in that area when instructed to instead of the exact same spot each time.

PS- Great board.  Have learned alot the last few days reading the manual and reading posts.

<{POST_SNAPBACK}>

While 1

$X = Random ( 600 , 650,1)

$Y = Random ( 500 , 550,1)

mouseclick("left",$X,$Y,1)

WEnd

I have no idea if it works, but something like that...

Edited by Wb-FreeKill
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...