Sign in to follow this  
Followers 0
Col-or

IF COLOR1 WASN'T FOUND SEARCH FOR COLOR 2

2 posts in this topic

#1 ·  Posted

Hi Everyone,

I'm writing a script where i want to search for a certain pixel (color1) and if this color isn't found i want the script to search for another pixel (color2).
If the script finds one of these 2 colors i want it to continue a certain action. If none of the 2 colors was found I want it to error (and start the loop over).
Hope you smart people on this forum can help me out. Cuz im new to scripting :/

Share this post


Link to post
Share on other sites



#2 ·  Posted

Yes, we can help you out. Search the forum for PixelSearch, then try out some of the examples you'll find for yourself. Or, post a more specific description of the app you're trying to automate, and what you have tried on your own. Please be aware this forum is dedicated to helping people improve their own scripts; it is not a place where you put in an order and someone spoon-feeds you code.


√-1 2^3 ∑ π, and it was delicious!

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