← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #153668]: onChange doesn't seem to even work

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
this will never work, since the onChange() is bound to a region, but
observe() looks on the SCREEN.

def pop(event):popup("Mulah!")
reg = Region(357,191,641,714)
reg.onChange(10, pop)
reg.observe(FOREVER)

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