observe an event in background

Asked by deva

i tried observer with below code. but i didn't get solution what i expected. i need to do observe action in background.

code:

def myH(e):
 popup("Hallo")
 stopObserver()

onAppear(img, myH)
popup("Start")
observe()
popup("Ende")

Question information

Language:
English Edit question
Status:
Answered
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1

Can you help with this problem?

Provide an answer of your own, or ask deva for more information if necessary.

To post a message you must log in.