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

    Status: Open => Answered

masuo proposed the following answer:
[example:]
def func1():
    find("image1.png")

def func2():
    find("image2.png")

def func3():
    a = 1/0

try:
    func1()
    func2()
    func3()
except ZeroDivisionError:
    print "ZeroDivisionError"    
except FindFailed:
    type(Key.PRINTSCREEN)

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