Question #256835 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/256835
Status: Open => Answered
RaiMan proposed the following answer:
this works (tested ;-):
Screen s = new Screen();
String wdir = System.getProperty("user.dir");
String bundle = new File(wdir, "images").getAbsolutePath();
ImageLocator.setBundlePath(bundle);
System.out.println(s.exists("image.png", 0));
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp