Problem if Exists(Image)
Asked by
Marc
Hi again, I've some trouble with this :
def Search():
if exists(image):
for x in findAll(image):
[error] FindFailed ( can not find P(xxxxxx.png)
I've understood that if there are no images to find, it fails, but how can I do then ?
(I want to click on all images corresponding but if there are no images, don't do anything at all and continue my script)
Thanks again, quick and precise :)
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- masuo
- Solved:
- Last query:
- Last reply:
To post a message you must log in.