[1.0.1] observe region not working --- specify observe time in any case (bug)
Hi,
I am using the below script to see how observe is working with onChange. I am observing skpe chat window and want to open a popup a message if i receive a message in skype chat window. But this is not working. Am i selecting the region incorrectly? What is the correct way to select the region?
I am a newbie, please help
def changed(event):
print "something changed in ", event.region
for ch in event.changes:
sleep(1)
for ch in event.changes:
with selectRegion(
# any change in r larger than 50 pixels would trigger the changed function
onChange(50, changed)
observe(
wait(30) # another way to observe for 30 seconds
r.stopObserver()
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: