sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #58846
[Bug 1916361] Re: pb after observeInBackgroud
observeInBackground runs as a subtask.
hence your script has to continue with some non-action to let observe
make its job
simplest: wait(FOREVER)
... but then you have to kill the script run.
** Changed in: sikuli
Status: New => Invalid
** Converted to question:
https://answers.launchpad.net/sikuli/+question/706339
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to SikuliX.
https://bugs.launchpad.net/bugs/1916361
Title:
pb after observeInBackgroud
Status in SikuliX:
Invalid
Bug description:
Hi
Win10 Pro last release, Sikuli ide 2.0.4
this is the script...
ErrComm Exists but sikuli don(t see it
it means that the script pass after print("1")
TeamV doesn't exist, it's ok, but...
it doesn't click on ErrComm... and don't print 2
it's happend in BueStacks...
def changeXX(event):
#RegEventXX.stopObserver
# while not exists(ErrComm): print("raté")
print("1")
while exists(okTeamV):
click(okTeamV)
while exists(ErrComm):
click(ErrComm)
while exists(Debloc): click(DeblocOk)
if not exists(ErrComm):
print("2")
# RegEventXX.observeInBackground(FOREVER)
# imprévu
RegEventXX.onChange(5, changeXX)
RegEventXX.observeInBackground(FOREVER)
# fin imprévu
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1916361/+subscriptions
References