← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #269810]: Sikuli not working on Windows10

 

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

皇甫春峰 proposed the following answer:
@Pramendra

I think you should use java code to do a simple test.

1.Add the sikuli.jar to your classpath
2.Run the program in the console

Program.java
import org.sikuli.script.*;

public class Program {
    
	public static void main(String[] args) {
		
		//App.open("c:\\Program Files\\Mozilla Firefox\\Firefox.exe")
		Screen s=new Screen();
		App app=new App("calc.exe");
		app.open();
    }
}    

3.C:\Users\huangc11\Desktop>java Program  #Check the calc is run or not
[log] App.open [8536:calc.exe]

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