sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #06722
Re: [Question #177873]: Sikuli Script integration with Java in Eclipse
Question #177873 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/177873
Status: Answered => Open
Anurag sharma is still having a problem:
Hello Sir..
I have add the sikuli jar file in the class path of system variable C:\Program Files\Sikuli X
and after that i add path to sikuli\libs i.e. C:\Program Files\Sikuli X\libs in the path of system variable
and path to java\jre6\bin i.e. C:\Program Files\Java\jre6\bin in the path of system variable
and in the command line i write:- java -jar "C:\Program Files\Sikuli X
\sikuli-script.jar" imgs2.sikuli // imgs2.sikuli is the name of the
folder where i capture screen shot of the start button//
but it doesnt run in the command prompt..
and i write a program in java but i also show some error
package defaultt;
import edu.mit.csail.uid.FindFailed;
public class anu {
public static void main(String[] args) throws FindFailed {
Screen s = new Screen();
s.click("imgs2/start.png", 0); // this command use for click on the start button//
s.wait("imgs2/AnuragVM4Int.png"); // this command use for wait to open the start menu/
s.find("imgs2/Run.png",0); // find the run button //
s.click("imgs2/Run-1", 0); // click on run //
}
}
now can u help me to tackle this problem...
if i made any mistake in command prompt, adding jar file and java file in system variable and in writting java program then plss guide me
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.