← Back to team overview

sikuli-driver team mailing list archive

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

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Sikuli "talks" Python.

if exists (Image):
    click(Location(343,49))
else:
    click(Location(1891,10))

There are some faqs about basic Python "you-should-know-how..."
https://answers.launchpad.net/sikuli/+faqs

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