← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #404348]: Sikulix cannot find target image

 

Question #404348 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/404348

    Status: Open => Answered

RaiMan proposed the following answer:
This should not work at all:
new Finder(new Pattern(...))
... since this constructor is not defined.

this is how it should work:
f = new Finder("my_large_image.png");
f.find("my_sub_image.png");
if (f.hasNext()) {
    Sytem.out.println(f.next())
}

see the docs and the Java API docs (http://sikulix.com)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.