← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #232162]: what's the difference between Sikuli-script.jar and sikuli-api ?

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--- sikuli-java.jar
will be a lean jar only containing the stuff needed to use the Sikuli features in Java programming (or Jython programming (no additional setup required) or any other Java aware scripting language (some additional setup required))
You only need sikuli-java-jar on class path and here we go:

import org.sikuli.script.*; // or selected imports

Screen s = new Screen(0);
Match m = s.find("some-image.png");
...

So in your situation it is not the question "we prefer to use Java as
the program language", but the decision based on the different feature
set of both solutions.

With both you can do everything in pure Java.

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