Question #157108 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/157108
RaiMan requested more information:
No idea, seems ok.
But I would write it:
public boolean ensureExists(String image) {
Match m = s.exists(image);
if (m != null) {
System.out.println("Result of m is " + m);
return true;
}
return false;
}
Only to be sure: screenshot is a string containing a filename ending
with .png?
--
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