motionman95 Posted June 22, 2009 Share Posted June 22, 2009 Hey guys! I have a small dilemma. Here's my problem: I'm trying to take a screenshot of one pixel on the screen, read the screenshot, and get the hex value of that pixel. I know I could just use PixelSearch, but for my purposes I must use a screen shot. Is there a way to accomplish my goal? Thanks in advance! Link to comment Share on other sites More sharing options...
dantay9 Posted June 22, 2009 Share Posted June 22, 2009 You could use _ScreenCapture_Capture() to get the screenshot. Then, since it is saved as a file, use pixelsearch for the file instead of the screen. Hope this helps. Link to comment Share on other sites More sharing options...
motionman95 Posted June 22, 2009 Author Share Posted June 22, 2009 (edited) I don't think PixelSearch can be used on an image. Edited June 22, 2009 by motionman95 Link to comment Share on other sites More sharing options...
motionman95 Posted June 22, 2009 Author Share Posted June 22, 2009 Solution here: http://www.autoitscript.com/forum/index.ph...=pixel+in+image 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