sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #03954
Re: [Question #164774]: How to use Sikuli Script in your JAVA programs
Question #164774 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/164774
Status: Answered => Open
Sangeeta Pote is still having a problem:
Hello RaiMan,
I have written the script as
import org.sikuli.script.Screen;
public class TestSikuli {
public static void main(String[] args) {
Screen s = new Screen();
try{
s.click("imgs/ViewPlaylist.png", 0);
s.wait("imgs/ViewPlaylist.png");
s.type(null, "hello world\n", 0);
}
catch(FindFailed e){
e.printStackTrace();
}
}
}
but it is stuck/terminated as Testsikuli [Java Application ] C:\program files\java\jre6\bin\javaw.exe
and displayed information in eclipse editor console as
[info] Windows utilities loaded.
[info] Sikuli vision engine loaded.
[info] Text Recognizer inited.
Please look into the issue.
Thanks!
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.