← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #660197]: JAR or EXE file from Sikuli python script

 

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

    Status: Answered => Open

Max is still having a problem:
What if I write my code in java and I include all the classes like this:

import org.sikuli.script.*;

public class TestSikuli {

        public static void main(String[] args) {
                Screen s = new Screen();
                try{
                        s.click("imgs/spotlight.png", 0);
                }
                catch(FindFailed e){
                        e.printStackTrace();
                }

        }

}

Then I create a jar package. Also in that case I need to use sikulix.jar
to run my jar? In answer #4, the thing I want to bypass (if possible) is
to run the setup.jar in each pc. I wanted to use a standalone solution
that does not require any setup.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.