← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #695135]: I want to wait until the picture in a region changes

 

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

Aydın posted a new comment:
thanks, I think this code

 # ******************************
reg= Region(870,227,570,442)

def onchangedFunction(event):
            click(Location(373, 761))

Settings.ObserveScanRate = 10
reg.onChange(50,onchangedFunction)
reg.observe(10,background=False)
reg.stopObserver()
# *****************************

looks like it will
I will return after I do the trials :)

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