sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #17491
Re: [Question #226788]: onAppear
Question #226788 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/226788
Status: Open => Answered
RaiMan proposed the following answer:
what does this mean: It still doesn' t work?
Since I do not know your screenshot/images/app, I guessed a possible approach, that you had to adopt to your situation:
m=find("QTTTQwww2nd1.png")
reg=Region(m.x, m.y, 200, 200)
with reg:
this looks strange:
onAppear(message.png.exact().targetOffset(1,20), self.Check)
should be something like:
onAppear(Pattern("message.png").similar(0.99).targetOffset(1,20), self.Check)
BTW: due to problems in the current version it is recommended to use
similar(0.99) instead of exact()
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.