← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #228978]: Similarity index in Java using the click method

 

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

Jeremiah Jacquet posted a new comment:
i tried this:
s.click(new Pattern("imgs/SomeImage.png").similar((float) 0.99));

Eclipse tells me that The method click(PSRML, int) in the type Region is
not applicable for the arguments (Pattern). The option it give me is
Change to showClick (..)

I also tried simplifying the method
s.click("imgs/ConfirmAuthorNanceeSthay.png").similar(.99);
Eclipse tells me The method click(PSRML, int) in the type Region is not applicable for the arguments (String)
This also give me the showClick optional change

trying it with the Pattern class and without ultimately end up with a syntax error and the only option is to use showClick, but even after switching to showClick as a method I then get the following error:
The method showClick(Location) in the type Screen is not applicable for the arguments (Pattern)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.