Skip a chunk of code if img cannot be found
I don't know any Python Coding, so I feel as if I'm dumb for asking this question but here it goes anyway. I have managed to use Sikuli to automate a lot of things so far. I love it, its easy and seems pretty darn stable. My problem is I need a way for Sikuli to look for the image on the screen, if it does not find said image it will skip the chunk of code that pertains to that image and move on to the next image and corresponding chunk of code for it. Is there an easy way to do this without having to take a crash course in Python?? or do I need to use Python in order to achieve this?? Thanks in advance for your answers.
James.
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask James for more information if necessary.