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

    Status: Open => Answered

Manfred Hampl proposed the following answer:
Maybe the following approach works:

Split the logic into two parts:
1. the main logic, as already programmed by you

wait("image1", FOREVER)
click("image1")
wait("image2", FOREVER)
click("image2")

and
2. additional logic that runs when that image1.5 shows up
For this you can let an observer run in the background.

def myHandler(e):
        print "image 1.5 appeared"
onAppear("image1.5.png", myHandler)
observe(FOREVER, background = True)

(part 2 has to go before part 1)

-- 
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     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to