← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #295577]: Region.observe(10) throws error in Region.py

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
apparently a bug.
I will fix it the next days.

as a workaround you can use this:

reg = Region(...) # defines a new Region
reg.observeJ(time, trueOrFalse)

# always both parameters are needed
time = observe time in seconds
trueOrFalse = True for observe in background, False for normal inline observe

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