Ximorro Posted November 5, 2009 Share Posted November 5, 2009 No, I never got around to it then and I probably will never do it.PixelGetColor can be a lot faster on Vista if you specify a window handle.Thanks but this workaround didn't work for me. I read the solution is to copy parts of the screen to a bitmap with _WinAPI_BitBlt and then reading pixels with GetPixel in gdi32.dll in this bitmap. The problem is when the screen is changing quickly, then you have to do a lot of screen-capturing and it's slow again... Link to comment Share on other sites More sharing options...
jvanegmond Posted November 5, 2009 Author Share Posted November 5, 2009 Thanks but this workaround didn't work for me. I read the solution is to copy parts of the screen to a bitmap with _WinAPI_BitBlt and then reading pixels with GetPixel in gdi32.dll in this bitmap. The problem is when the screen is changing quickly, then you have to do a lot of screen-capturing and it's slow again...For minesweeper, it would be perfect though.http://www.autoitscript.com/forum/index.php?showtopic=63318 github.com/jvanegmond 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