← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #325115]: Sikulix with Java is not working

 

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

SreeCharan Shroff gave more information on the question:
package sikulixjavaproject;

import org.sikuli.basics.Debug;
import org.sikuli.script.Screen;

public class SikulixDemo {

	public static void main(String[] args) {
		try {
            Screen screen = new Screen();
            Debug.highlightOn();
            Debug.on(5);
            screen.wait(5000);
            screen.click("images\\1.PNG");
            screen.click("images\\plus.PNG");
            screen.click("images\\2.PNG");
            screen.click("images\\equal.PNG");
            screen.exists("images\\result.PNG");
        } catch (Exception e) {

        }
   }
}

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