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

I am wonder what is the best way to solve my problem.

My current code looks something like this:

while tloop <= minei:
    if exists(image):
        click(image)
        type("stuff" + Key.ENTER)
        wait(4)
        click(image)
    while exists(image):
        while not exists(image):
            if exists(image):
                click(getLastMatch())
            else:
                ()
            wait(21)

What I am trying to achieve is that when the first "while exist(image)" stops 
existing it will break the loop and start the main loop again no matter were it 
is currently in the second loop.

Thank for any help!

-- 
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