← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #226788]: onAppear

 

Question #226788 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/226788

    Status: Answered => Open

Neja is still having a problem:
It still doesn' t work

def Check(self,event):
        if exists(Pattern(disabled.png.similar(0.96)):
            print "Confirm is disabled"
        else:
            print "Confirm isn't disabled"
        event.stopObserver()
    def ConfirmBets(self):
        m=find("QTTTQwww2nd1.png")
        reg=Region(m.x, m.y, 200, 200)
        with reg:
            onAppear(message.png.exact().targetOffset(1,20), self.Check)
            observe(15)

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.