YpR^ Posted May 27, 2007 Share Posted May 27, 2007 (edited) Is it possible to make the mouse click randomly within an area of ex. 50 x 50 pixels ? Edited May 27, 2007 by YpR^ Link to comment Share on other sites More sharing options...
GO7 Posted May 27, 2007 Share Posted May 27, 2007 Is it possible to make the mouse click randomly within an area of ex. 50 x 50 pixels ? yep i you write the function it is ! Func RandomClick($x, $y) $x_pos = Random($x - 25, $x + 25, 1) $y_pos = Random($y - 25, $y + 25, 1) MouseClick("left", $x_pos, $y_pos) EndFunc For $i = 0 To 10 RandomClick(600,600) Sleep(500) Next Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now