Jump to content

How do i find a colour and then click on it?


Con
 Share

Recommended Posts

hi i know im a newbi and all but can anyone help me ?

i want to find a color on a screen and then click on it, it sounds simple enough but i cant do it

help me plzzz

Edited by Con
Hello?
Link to comment
Share on other sites

hi i know im a newbi and all but can anyone help me ?

i want to find a color on a screen and then click on it, it sounds simple enough but i cant do it

help me plzzz

Pixelsearch can do it. $pixcheck = pixelsearch (x1,y1,x2,y2, color) searches the range between the two coordinates for the color and the first pixel it finds that maches is what it assignes to $pixcheck. you then use it as your x,y for mouseclick

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...