HowTo use Similar?
1.1.1(2015-
trying to use similar i pattern matching and failed
So I did a search and found an example which I changed to include an image on screen :
( example - http://
the Example with my image in : -
m = find("148725666
print m # message area: Match[10,0 30x22] score=1.00, target=(105,11)
Result
[error] script [ Crap ] stopped with error in line 13
[error] AttributeError ( 'str' object has no attribute 'similar' )
This the same error message that I am getting from my exists test
if exists(
[error] ...... stopped with error in line 289
[error] AttributeError ( 'str' object has no attribute 'similar' )
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
This question was originally filed as bug #1665372.
Can you help with this problem?
Provide an answer of your own, or ask Jeff_Vallis for more information if necessary.