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

Hello,

I have a very simple loop, that's refusing to work for me.

while True:
     if exists(myImage):
          ProcessConfirmations()
     else:
          wait(1.0)
          click(RefreshButton)

If it detects 'myImage' it runs 'ProcessConfirmations' fine.
But if it doesn't, it isn't running the else statement at all.
It just hangs there, and doesn't even error out.

I appreciate the help,
Maurice


-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to