Sign in to follow this  
Followers 0
Clipper34

MouseClick and Pixels

3 posts in this topic

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

Share this post


Link to post
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)

Share this post


Link to post
Share on other sites

Thanks tomb

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