Jump to content

MouseClick and Pixels


Recommended Posts

Hey guys i'm new here, and new to AutoIT. But i have been programming for all most a year with Python. And I'm wondering if you can help me. My question is when ever i use

MouseClick("left" [, 500, 20 [, 10 [, 10 ]]] )
i all ways get an error when i try to run the script. And when i try to use MouseClick and the Coordinates from the window spy it just drifts off to the side sometimes. Also is there a function combined with MouseClick to click at a certain color code. I guess you have to declare it in your script as an variable. Thanks

Link to comment
Share on other sites

Hey guys i'm new here, and new to AutoIT. But i have been programming for all most a year with Python. And I'm wondering if you can help me. My question is when ever i use

MouseClick("left" [, 500, 20 [, 10 [, 10 ]]] )
i all ways get an error when i try to run the script. And when i try to use MouseClick and the Coordinates from the window spy it just drifts off to the side sometimes. Also is there a function combined with MouseClick to click at a certain color code. I guess you have to declare it in your script as an variable. Thanks
try this.

MouseClick("left", 500, 20 , 10, 10)
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...