palindrome Posted September 24, 2007 Share 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? Link to comment Share on other sites More sharing options...
Zedna Posted September 28, 2007 Share 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 Link to comment Share on other sites More sharing options...
walle Posted October 5, 2007 Share Posted October 5, 2007 Same problem with WinWaitActive =/ Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now