Question #251689 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/251689
Status: Open => Solved
Nathan Ash-Vie confirmed that the question is solved:
UPDATE: appears to be the image recognition which is the cause (perhaps
linked to how I'm referring to images stored within different packages
which get compiled into the JAR). If I add something like
scree.type(Key.TAB); outside of the image recognition it works fine from
the Dist folder.
Looks like this isn't a Sikuli problem rather more the way image
resources are retrieve via the following function:
public Pattern getPattern(String name) {
String path = getClass().getResource("/system/model/i90/imgs/" +
name).getPath();
return new Pattern(path);
}
Works fine in Netbeans from the src folder but fails once compiled to a
Jar.
Apologies for wasting anyone's time. Have set to solved.
Thanks,
Nathan
--
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