oozma Posted March 5, 2009 Posted March 5, 2009 (edited) Hi All, [rephrase] I'm looking to create a script that would run pixelsearch on a rectangle, and look for a color that is NOT $value and click on it. After clicking, say that pixel 'disappears'. I then want it to continue searching the rectangle and click again if another value other than $value is found and repeat until the entire box has been searched. Is this possible? :/ I haven't found anything like it in search or the help file. Edited March 5, 2009 by oozma
oozma Posted March 6, 2009 Author Posted March 6, 2009 No ideas at all? Basically... say I have a pure black square. I want it to not do anything to the black, but if a white oval appeared it would click it. Is this possible with pixelsearch or should I be using a different type of command? It seems like pixel search will only look for a color, not a 'not' color
Siberio Posted March 6, 2009 Posted March 6, 2009 No ideas at all? Basically... say I have a pure black square. I want it to not do anything to the black, but if a white oval appeared it would click it. Is this possible with pixelsearch or should I be using a different type of command? It seems like pixel search will only look for a color, not a 'not' colorOne possible thought is you could use the pixelchecksum. If the shapes were big enough you might be able to find it. (all you need to know is the checksum of a square of all black pixels in your example. You could have it make a grid of what it checks and if one of the grid squares turns narrow it down untill your close enough.
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