← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #239762]: How to invoke click() or wait() function by importing jar

 

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

RaiMan posted a new comment:
How to use Sikuli with Jython in Eclipse is shown here

for RC3: http://doc.sikuli.org/faq/040-other-ide.html

for Version 1.0.1: https://github.com/RaiMan/SikuliX-API/wiki/Usage-in-
Java-programming

To have the same possibilities as in the IDE, you have to use even in the main script
from sikuli import *

To activate all the convenience features of Sikuli for scripting (using
un-dotted click to address the primary screen, import support, ...)

Your solution is simply replicating the Java level API in Jython. There
are some differences between the Sikuli Jython API and the Java level
API (mostly to be more convenient). So if you want to use Jython, you
should stay with the Jython API as mentioned above.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.