motionman95 Posted June 22, 2009 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!
dantay9 Posted June 22, 2009 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.
motionman95 Posted June 22, 2009 Author Posted June 22, 2009 (edited) I don't think PixelSearch can be used on an image. Edited June 22, 2009 by motionman95
motionman95 Posted June 22, 2009 Author Posted June 22, 2009 Solution here: http://www.autoitscript.com/forum/index.ph...=pixel+in+image
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