[1.1.1] Pattern("test.png").similar(Similarity) is reverted to Pattern("test.png")

Asked by James Simmons on 2019-04-30

I edited a script in Notepad++ to use f.find(Pattern("test.png").similar(Similarity)) function but when I open it in the IDE, the line reverts to find("test.png")

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
2019-05-02
Last query:
2019-05-02
Last reply:
2019-05-02
Best RaiMan (raimund-hocke) said : #1

if possible upgrade to 1.1.4

1.1.1 no longer gets fixes.

in 1.1.1 you might try:
p = Pattern("test.png"); find(p.similar(Similarity))

James Simmons (simmonsj) said : #2

Thanks RaiMan, that solved my question.