I have yet to have a chance to test out the script myself. The biggest problem that I see for the application of the methods Simucal described here is that a certain color may be used for more then one thing in the game. True, there are many pixels on a model to choose from and you are bound to find one that's not used (or used extremely rarely) in the rest of the game, but the lack of redundancy worries me.
Would it be possible to introduce some kind of redundancy to this process? For example, AutoIt would be searching a set area for a specific picel color. As soon as it finds an instance of this pixel it will go to another set of instructions (possibly one that would specify a new area to search around the found pixel) to check for one or more pixels of a specified color(s). Finally only when all the specified conditions are met (for example - triangulation that has AutoIt find three pixels of the same or different colors in withn a certain proximity of each other) then AutoIt moves on to execute the final command.
Please let me know if this is feasable. Speed is not that much of a concern for me since I mostly play RTS or RPG games (and would like to automate the those that feature turn based combat or gameplay).