sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #43538
Re: [Question #656216]: How to set observe() to run in background forever?
Question #656216 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/656216
Status: Open => Answered
masuo proposed the following answer:
Sorry, I added one line.
R = selectRegion()
def axn(event):
event.getRegion().highlight(3)
R.onAppear(img1,axn)
R.observeInBackground(FOREVER)
popup("Click [OK] to stop") #<---Added
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.