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

Deses posted a new comment:
Make a function and make it call itself recursively?

Just make sure to add a flag to exit the loop when you are done, or that
"hanf" will eventually not exist.

def hanf():
    hanf = exists(...)

    while hanf:
        click(...)
        hanf = exists(...)
        type(Key.ENTER)
        los = exists(...)
        if los :
            click(Pattern(...)
            boden = exists(....)
            if boden :
                click( ....)
            wait(...)
            ((text))
            click("KRDTHLETT-1.png")
        hanf()

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