IF statement

Asked by adapasainath

How to write IF statement in Sikuli?It has to search for picture and click it, and if the picture isn't there, it should click another picture.

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Petru Ghita (petrutz) said :
#1

Like five posts ago, answered by RaiMan:

https://answers.launchpad.net/sikuli/+question/107719

if find( ):
   click( )
else:
   click( )

Can you help with this problem?

Provide an answer of your own, or ask adapasainath for more information if necessary.

To post a message you must log in.