sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #16828
Re: [Question #222751]: Eclipse Juno: PyDev: How to use sikuli-script.jar?
Question #222751 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/222751
RaiMan posted a new comment:
just tested again (Eclipse Juno, PyDev):
- a valid Jython 2.5.3 setup outside Eclipse used as Jython interpreter in Eclipse PyDev
- a reference to sikuli-script.jar in the projects external library references
- the source folder sikuli (extracted from sikuli-script.jar) in the Jythons Lib/site-packages folder
the test scripts run with this configuration.
all classes/methods available on the Jython level (contained in the
sikuli package) are accepted by the editor.
If you use the convenience of unqualified methods like
click(some_image)
then these will never be found by the editor and always be marked as
unknown, since these references are only made valid at runtime
(associated with the constant Screen object SCREEN (primary monitor)).
So you have to live with this or qualify all methods:
s = Screen(0)
s.click(some_image)
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.