sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #02864
[Question #157882]: sikuli script in java
New question #157882 on Sikuli:
https://answers.launchpad.net/sikuli/+question/157882
hi ..
im trying a easy sikuli script in java using eclipse..
im gettin few errors
URLClassLoader$1.run() line: not available
AccessController.doPrivileged(PrivilegedExceptionAction<T>, AccessControlContext) line: not available [native method]Launcher$AppClassLoader(URLClassLoader).findClass(String) line: not available
Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line: not available
Launcher$AppClassLoader.loadClass(String, boolean) line: not available
Launcher$AppClassLoader(ClassLoader).loadClass(String) line: not available
Launcher$AppClassLoader(ClassLoader).loadClassInternal(String) line: not available
Win32Util.setWindowOpaque(JWindow, boolean) line: 79
ScreenHighlighter.init() line: 175
ScreenHighlighter.<init>(Screen) line: 288
Screen.initBounds() line: 96
Screen.<init>() line: 108
Scriptsikuli.main(String[]) line: 7
this is my code
import org.sikuli.script.*;
public class Scriptsikuli {
public static void main(String[] args) {
Screen s = new Screen();
try{
s.click("imgs/Lighthouse.jpg", 0);
s.wait("imgs/Tulips.jpg");
s.type(null, "hello world\n", 0);
}
catch(FindFailed e){
e.printStackTrace();
}
}
}
Pls help me fix
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.