How to pause main script while observe handler is working --- not possible in 1.1.x
Asked by
Armel
Hy,
I've just try use observe function. And I've a very very big problem.
This is my code :
def test(event):
<here is my code>
<....>
<....>
event.repeat()
onAppear(img1,test)
observeInBackgr
# Main script
doubleClick(img2)
...
...
...
...
So, when img1 appears, the function "test" is running .
But the main script continues !!!
How can I stop the main script until the end of the handler ???
thanks in advance...
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Armel for more information if necessary.
To post a message you must log in.