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.

_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to     : sikuli-driver@lists.launchpad.net
Unsubscribe : https://launchpad.net/~sikuli-driver
More help   : https://help.launchpad.net/ListHelp

Reply via email to