Pattern functions anySize() and anyColor() not implemented

Asked by j4ke

Hello,

I can't seem to get anySize() or anyColor() working with the Pattern class, it looks like they are using it in this example from http://docs.google.com/gview?url=http%3A%2F%2Fgroups.csail.mit.edu%2Fuid%2Fprojects%2Fsikuli%2Fsikuli-uist2009.pdf

x = Pattern(image).exact() - works
   click (x)
x = Pattern(image).similar(0.8) - works
   click (x)
x = Pattern(image).similar(0.8).anyColor() - AttributeError: anyColor
   click (x)
x = Pattern(image).similar(0.8).anyColor().anySize() - AttributeError: anyColor
   click (x)

I would imagine this would be very helpful if they were actually working.

Thanks,

Jake

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

look at http://sikuli.org/doc/edu/mit/csail/uid/Pattern.html

anyColor() an anySize() are not implemented right now.

Hi there developement: what are your plans?

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.

Revision history for this message
Kristian Karl (kristian-hermann-karl) said :
#3
Revision history for this message
Arthur Dias (artdias90-deactivatedaccount) said :
#4

AnySize() doesn't work so ?

Revision history for this message
RaiMan (raimund-hocke) said :
#5

not implemented (Sikuli X 1.0 rc3)

Revision history for this message
RaiMan (raimund-hocke) said :
#6

a request bug now