Jump to content

PixelGetColor newb question (not in FAQ)


satanikut
 Share

Recommended Posts

I'm new in AutoIt therefore this is for sure an easy question:

I cannot give Autoit the relative coordinates of my window because it

refers always to the absolute ones. For example:

AutoItSetOption("PixelCoordMode",0) ;relative coords to the defined window
WinActivate("DoubleRainbow Mozilla Firefox")
$register=PixelGetColor(616,556)
Exit $register

...doesn't return the relative 616,556 pixel color of the browser's window "DoubleRainbow", but

the p. color of the window that is in the coords 616,556 of the desktop.

Help a newb please

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