Sign in to follow this  
Followers 0
UsingTwitter

How To Click In-between Two Points

2 posts in this topic

How can I have AutoIt click in-between points? For example, I would like AutoIt to click anywhere in-between 1595, 364 and 1837, 746. I do not want it to click on any specific point; I just would like it to click in any random point in-between those two points.

Share this post


Link to post
Share on other sites



Something like this? If you need more, some more info on what exactly you're trying to do would be helpful...

$x = Random(1595, 1837, 1)
$y = Random(364, 746, 1)

MouseClick("", $x, $y)

 


√-1 2^3 ∑ π, and it was delicious!

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
Sign in to follow this  
Followers 0