Guest samlimster Posted August 3, 2005 Share Posted August 3, 2005 Hi folks. I've noticed that the pixelsearch function uses absolute coordinates even if I have the MouseCoordMode set to 0. Has anyone else noticed this? Have I done something wrong here? The reason I know this is that I searched for a pure white pixel on my application (which has a white background). I started the search at coords (10, 129). Since the background was white, it should have returned the value of the first pixel (10,129). However, pixelsearch returned the values (11, 178). I checked my desktop which is a black an white photo and sure enough the first occurance of pure white pixels started at (11, 178). Note that the MouseMove and MouseClick commands work relative to my window (as expected), only pixelsearch appears to be using absolute coords. Thanks! sam. Link to comment Share on other sites More sharing options...
Guest samlimster Posted August 3, 2005 Share Posted August 3, 2005 Hi again folks.. Sorry, I just figured it out. There is an option called pixelcoordmode where you can specify absolute, or window mode. Thanks! sam. Link to comment Share on other sites More sharing options...
seandisanti Posted August 3, 2005 Share Posted August 3, 2005 Hi again folks..Sorry, I just figured it out. There is an option called pixelcoordmode where you can specify absolute, or window mode.Thanks!sam.<{POST_SNAPBACK}>good job figuring it out man, and welcome to the forum too! 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