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

    Status: Solved => Open

Roy Henri Waldemar Järvinen is still having a problem:
Here is my plan: 
-
ebTitle = "EpicBot"
ebApp = App(ebTitle)
if not App(ebTitle).window():
        exit()
while True:
        if not exists(Ex button):
                break
        else:
                pass
                ebApp.focus()
                click(Rt)
                click(Ex)
                click(Ty)
if exists(Py image):
        exit()
while True:
        range(3)

I try make a repeater which
1. At first, it will check that the app is open. If not, it exits
2. Waits Ex button and when it finds it will click those Rt, Ex and Ty
3. When 2. is done it will check Py image. If it see it, the script will stop
4. If Py image isn't visible, it jumps to 3. line and start it again

My problem is that it will exit on Py image check even if it isn't visible.
What is wrong with script setup?

-- 
You received this question notification because you are a member of
Sikuli Drivers, which 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