palindrome 0 Posted September 24, 2007 My script calls PixelGetColor on a particular window. It seems that when the screensaver is running, PixelGetColor stops working the way I want. I believe PixelGetColor stops returning the correct value as before. Is there a way to make PixelGetColor return the correct value from the target window's client area, even though the screensaver is running? Additionally, when I stop the screensaver by pressing the ctrl key, I find that the focus has somehow switched to a window other than the one my script was working on. Any idea why? Share this post Link to post Share on other sites
Zedna 292 Posted September 28, 2007 PixelSearch is not targeted on some window. You may make something like this: - get handle of your desired window - get its DC by GetDC API - use GetPixel API on this DC Resources UDF ResourcesEx UDF AutoIt Forum Search Share this post Link to post Share on other sites
walle 0 Posted October 5, 2007 Same problem with WinWaitActive =/ Share this post Link to post Share on other sites