sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #32629
Re: [Question #147764]: if not found image skip to --- use exists() instead of find()
Question #147764 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/147764
eduardobedoya posted a new comment:
Hi RaiMan
I was looking at this question
cuz I needed to script something like... if image not found then...
so, Im jut wondering,
Can I use a code like this...
if exists(<logout-image>, 3)) #wait 3 seconds
click(getLastMatch()) #if exists click on it
if not????
but then how can I determine what happens if <logout-image> doesn't
exist? else??
Thanks Advanced.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.