sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #33676
Re: [Question #269065]: Unable to compare Expected SS to Actual Output
Question #269065 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/269065
RaiMan proposed the following answer:
@Justin
Ok, understood.
So if you are more the type "programming-by-example", then the docs of Sikuli currently do not have much for Java. Here I fully agree with Eugene. I will surely enhance that over the next months.
... but on the other hand: a Java programmer must be able to read javadocs:
http://nightly.sikuli.de/docs/index.html
so since
screen.exists(new Pattern(image6).similar(0.95),1);
returns a Match object, it has to be
Match myMatch = screen.exists(new Pattern(image6).similar(0.95),1);
to store the Match object for later use.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.