Jump to content

PixelGetColor() without activating a window?


Recommended Posts

Is it possible to get the pixel colour of a pixel in a window without the window being active and/or the pixel visible on the screen ?

If the window is not visible on the screen there is no colour to get.


Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Link to comment
Share on other sites

Ok. Does a window have information stored like it has the text etc stored? Can this info be accessed by autoit?

If not can it be got around by creating a virtual workspace where the windows are placed?

Whether the information is stored or not, i don't know, but i have a feeling not.

All i know for sure is pixelgetcolor() and PixelSearch() only work on the PIXELS that are visible to you.

As to the virtual workspace, yes that would work assuming you could see on your screen the pixels that you are ring to get the color of. Otherwise, no.

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