stop a reg.observeInBackground(FOREVER) whitout event happening
windows 10, windows 7
sikuli 1.1.1 build 2017-03-29_10:41
I have a script
###
def test(event):
Settings.
mouseDown(
mouseUp(
event.
def test1(event):
....
Settings.reg = Region(
Settings.
Settings.
Settings.
while True:
MyMainCode....
###
I use forever because I do not know when the image will appear.
I have several small regions, and I observe them all at once.
On certain occasions, I need to stop the observation of all regions without the image appearing. I have to do this in mymaincode.
and then go back to observe, again in mymaincode
How can I do that?
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: