← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #280774]: Observe doesn't work

 

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

Nidere gave more information on the question:
def attack(event):
    popup("found")
    event.stopObserver()
    doubleClick(event.getLastMatch())

def map():
    frame.onAppear(Pattern("1452328746728.png").similar(0.60), attack)
    frame.observe(10)

ok, somehow it started observing
but now it doesn't click(
I get the popup "found", so it definetely finds the pattern successfully and activates the handler
but then it just stops
commenting the popup just makes it stop after 10 seconds of observing

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.