← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #687794]: Calling a click from a sub-routine causes an exception.

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
this works as it should:

img = "img.png"
hover(img)
hover(getCenter())
wait(1)

def someSub():
  hover(img)

someSub()

So this is surely not a bug.

There must be other reasons, that it fails.
Make a compact sample like mine above and try to reproduce.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.