Vortex Posted May 17, 2006 Share Posted May 17, 2006 Heyya everyone, i'm having a bit of a problem. I'm trying to write a little script (obviously) that reacts on colors from certain locations on the screen. Getting the color and all isn't such a problem, but now the problem comes. You'll get a RGB value which can pinpoint an exact color, but thats not what i need. I'm trying to find a way to 'sort' the colors in groups. For example, so i can get a color and see if its either, white, yellow, blue, red, green etc without having an exact match (think of an always variating lifepool bar for example, just an example). Could someone help me out with this problem, id definitly appreciate it Looking forward - Vortex Link to comment Share on other sites More sharing options...
Moderators SmOke_N Posted May 17, 2006 Moderators Share Posted May 17, 2006 PixelSearch() has a Variance option and in Beta you could use _ColorGet...() more than likely. Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer. 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