Sign in to follow this  
Followers 0
Vortex

Pixelcolor Sorting Colors

2 posts in this topic

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

Share this post


Link to post
Share on other sites



PixelSearch() has a Variance option and in Beta you could use _ColorGet...() more than likely.


[center]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.[/center]

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0