sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #38726
[Question #295811]: main test and events
New question #295811 on Sikuli:
https://answers.launchpad.net/sikuli/+question/295811
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)
observeInBackground(FOREVER)
# 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...
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.