sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #30354
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:
another problem might be, that you are importing Region stuff from the
Java level, which is strictly a no-go ;-)
Since auto-complete and auto-compile/syntax-check complain the use of
the undotted region methods (like click() instead of someRegion.click()
) people tend to solve that by importing stuff that gets intermixed with
the Jython scripting level.
from sikuli import *
is all you need, after having sikulixapi.jar on class path and
sikulixapi.jar/Lib on sys.path
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.