Observer not stopping / causing script to a halt/slugghish execution
Please advise how I can properly write this better. It seems to be working but after a few min. The script seems to sit idle.
I don't even think the observer is stopping correctly.
I'm monitoring a specified region for changes (lots of movement in that region) and when it's found, clicks that region then continues with the script.
Here's what I have:
def boxObserve():
def changed(event):
event.
sleep(0.15)
box.
for chg in event.changes:
sleep(0.25)
doSomethi
box = Region(
box.
box.
sleep(0.25)
box.
doSomething
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:
This question was reopened
- by xyz_User