Re: [Sikuli-driver] [Question #403018]: Pass value from handler (on appear) to main script

2016-10-17 Thread spyros-liakos
Question #403018 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/403018 Status: Answered => Solved spyros-liakos confirmed that the question is solved: Im done!! Thank you!!! -- You received this question notification because your team Sikuli Drivers is an answer contact f

Re: [Sikuli-driver] [Question #403018]: Pass value from handler (on appear) to main script

2016-10-15 Thread masuo
Question #403018 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/403018 Status: Open => Answered masuo proposed the following answer: My sample codes may help you. def handler(event): global count event.stopObserver() count = count + 1 msg = "count=%d" % cou

Re: [Sikuli-driver] [Question #403018]: Pass value from handler (on appear) to main script

2016-10-15 Thread spyros-liakos
Question #403018 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/403018 Status: Needs information => Open spyros-liakos gave more information on the question: Thanks for replying..! I want to observe always for an error popup in the program i use. The error is a internet co

Re: [Sikuli-driver] [Question #403018]: Pass value from handler (on appear) to main script

2016-10-14 Thread masuo
Question #403018 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/403018 Status: Open => Needs information masuo requested more information: Please explain what you want to do. You can use try-except if you want to catch errors while the script is running. if you want to deb