← Back to team overview

sikuli-driver team mailing list archive

[Question #678375]: [1.1.4] Where to find actual Javadoc ?

 

New question #678375 on Sikuli:
https://answers.launchpad.net/sikuli/+question/678375

Downloaded Sikuli API Jar ( https://raiman.github.io/SikuliX1/downloads.html ). Guess that's the Version 1.1.4. When I use Pattern.similar Method there are some strange Errors. In the Java Doc ( http://doc.sikuli.org/javadoc/index.html ) the Pattern Class has a Method similar(float similarity_) but if one call this Method with Pattern(...).similar(1.0) the following Error appears:

TypeError: 'float' object is not callable

If one instead then uses Pattern(...).similar = 1.0 this Error appears:

AttributeError: can't set attribute

Not sure what's the Problem here. Either the Javadoc is not up to date or the Sikuli Software has Bugs.

I also tried the Settings.MinSimilarity Method but it doesn't show any Effect. Doe's this Setting also work for Screen()click() Method ? Also the Package Location is wired. In the Javadoc the Package of the Settings Class is 'org.sikuli.script.Settings' but in the JAR file from 1.1.4 the Package Location is 'org.sikuli.basics.Settings'. That's strange.


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