Jump to content

Recommended Posts

i have read the "help" guide in the autoit program but it's confusing, hoping someone could dumb it down for me; i'm trying to find a pixel at the cordinates X: 443 Y: 586 , is this the proper way to do it? i have X , Y , 0 , 0 , Color , Color variation

PixelSearch(443,586,0,0,0xEE2222,10)

Share this post


Link to post
Share on other sites
1 hour ago, Nickolai said:

i'm trying to find a pixel at the cordinates X: 443 Y: 586 , is this the proper way to do it? i have X , Y , 0 , 0 , Color , Color variation ...

PixelSearch(443, 586, 0, 0, 0xEE2222, 10) 

No, with this you search an area. To find a single point (e.g. x=100 y=200) you must set the following values :

PixelSearch(100, 200, 100, 200, color, variation)

(No guarantee, I almost never work with PixelSearch)

also see : understanding-pixelsearch-parameters-and-screen-layout


Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

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

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...