sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #30390
Re: [Question #261426]: Region.observe(60, True) is throwing an exception
Question #261426 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/261426
RaiMan proposed the following answer:
for the error thrown:
the only thing I can see:
instead of:
menu_region = edit_menu.left(1).below().right().intersection(mw)
you might try:
menu_region = Region(edit_menu.left(1).below().right().intersection(mw))
to cast the evaluated Java level Region object to a Python level Region
object.
This cast will not be needed any more with the final version, since the
Jython Region does not have an extra observe() any more.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.