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

    Status: Open => Answered

Roman Podolyan proposed the following answer:
If the problem is really that simple, you need just to put Hover into
try-except block, and catch FindFailed exception

In my scripts I do this with functions like this:
_______
def try_hover(our_image):       # hover-function with exception catched
        try:
                hover(our_image)
        except FindFailed:
                pass
_______

If this is a single occurrence, feel free to use try-except without
defining function.

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