Jump to content
Sign in to follow this  
UsingTwitter

How To Click In-between Two Points

Recommended Posts

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)

 


"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...