sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #20769
Re: [Question #235394]: Can we have a check whether a text is present in particular region
Question #235394 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/235394
Status: Open => Answered
RaiMan proposed the following answer:
found = False
for text in a:
if t.exists(text):
print text + " exists"
found = True
break
else:
print text + " does not exists"
if not found:
print "none of given texts found"
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.