Jump to content

Recommended Posts

Posted

Hello,

I can successfully use GetPixelColor(0,0) to get the color of the pixel in the upper left corner of the screen.

However, GetPixelColor (0,1) I'm thinking should be the one directly under it. It does not work for me.

I have tried the settings for AutoItSetOption("PixelCoordMode",0) using 0,1,2 but I can't make it work.

Any suggestions?

Thanks

Posted

what exactly happens when you do that?

I'm assuming that you mean what happens when I change the PixelCoordMode?

For the pixel color that is returned, half the time it is for the pixel 0,0 and other times I'm not certain what pixel is being returned.

  • Moderators
Posted

can successfully use GetPixelColor(0,0) to get the color of the pixel in the upper left corner of the screen.

:rambo: I find that hard to believe :rolleyes:

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

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
×
×
  • Create New...