Jump to content
Sign in to follow this  

PixelGetColor newb question (not in FAQ)

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")
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

Share this post

Link to post
Share on other sites

Look at the command AutoItSetOption

specially the setting in that command: "PixelCoordMode"

I tried PixelCoordMode 0, 1 and 2 but autoit always return the same color even if

it's changed, I'm blocked here ;)

ps. It's a flash application in a Firefox window

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  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...