← Back to team overview

sikuli-driver team mailing list archive

[Question #139653]: (Chinese (Traditional)) while not or if not

 

A question was asked in a language (Chinese (Traditional)) spoken by
none of the registered Sikuli answer contacts.

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

setAutoWaitTimeout(45)
MSNIMAGE= Picture #Picture can not show here.
if not find(MSNIMAGE):
   openApp("C:\\Program Files\\Windows Live\\Messenger\\msnmsgr.exe")
else:
   doubleClick(MSNIMAGE)
--------------------------------------------------------------------------------------------------------

But this program use if not find(MSNIMAGE) or while not find(MSNIMAGE)
Always stop. Can't run to else.
What can I fix this program.

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