From: Wizzup?
I know it filters them, but there are many other (better ways) IMO to solve this.. You can just get them once.
FindColorsTolerance, and mmouse for all points check IsUpText and your done, faster, less time taking, easier.
One errant mouse movement takes more time than all the color searches put together. There are also often clusters of color that make the mouse go crazy moving one pixel at a time in a very small area. Especially if someone shows up wearing clothes that are similar to the color you want. That's very slow and annoying.
The chances of someone's clothes having the exact color you actually need are much lower. And even if they do, that means checking maybe 1 or 2 incorrect points rather than 100.
If you don't mind having your mouse go crazy, or have your script efficiency ruined because someone wearing the wrong kind of hat decided to come play in your autoing area, it's not a huge deal. But I think a filtering strategy is more efficient over the long term. Nobody has ever really tested it, though, so it's all speculation at this point.