← Back to team overview

sikuli-driver team mailing list archive

[Question #239365]: how to use "if exists"

 

New question #239365 on Sikuli:
https://answers.launchpad.net/sikuli/+question/239365

in want sikuli to run following

click(Location(57,1048))
if exists (Image)
      click(Location(343,49))
if not exists:
   click(Location(1891,10))

im new to this. I think it can be solved rather easily, I just dont have the knowlegde to solve it. plz help.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.