MasonMill Posted April 10, 2010 Share Posted April 10, 2010 I guess this question is more on the topic of hexadecimal. I set up a script to monitor my pixel search area and monitor how it works. Maybe i dont exactly know how the hexadecimal manifests its self in shade variation but im confused. So i have the color 0x601616, im just trying to figure out the red part ( 60 ) if im not mistaken. It is supposed to wait on PixelSearch(1764, 1009, 1768, 1013, 0x601616, 16). The color is 0x3C1917 but it triggers still. My threshold is 16 but it still was trying to trigger the whole time. Maybe im missing something but hexadecimal goes from 0 - F, being 16 chars. So from c - 0 is 3 chars, plus the change from 6 to 3 is 16*3 which all totals 51. The pixel search is designed to give an array when it comes within 16, but it is doing so when the color is 51 shades away, am i missing something? Thanks! Link to comment Share on other sites More sharing options...
MasonMill Posted April 11, 2010 Author Share Posted April 11, 2010 Does no one know anything in depth about hexadecimal? Link to comment Share on other sites More sharing options...
JohnOne Posted April 11, 2010 Share Posted April 11, 2010 No idea, but my money is on, its working decimaly.If its just the red you are interested in then why not just check the red, as I think the variation is for all colours anyway.Have a look at this thread. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. 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