sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #21462
Re: [Question #236725]: Why does onChange() work with a sikuli.Region and not with a org.sikuli.script.Region
Question #236725 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/236725
Status: Open => Answered
RaiMan proposed the following answer:
---1. you should update to version 1.0.1 and select setup option 3 to
get the sikuli-java.jar
---2. proceed according to: https://github.com/RaiMan/SikuliX-API/wiki
/Usage-in-Java-programming
---3. importing from the Java level might have worked in the past, but was never defined for the Sikuli basic classes like Region, Screen, Match, Location, ...
It is recommended to use from sikuli import * and then just use the Sikuli features as mentioned in the docs.
---4. When using Jython, you MUST use the Region() to get a new Region.
Do not step down to the Java level.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.