← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #295811]: How to pause main script while observe handler is working --- not possible in 1.1.x

 

Question #295811 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/295811

edlothiad posted a new comment:
Could you provide any advice for a work around? You've mentioned using a
global variable, but if I'm expecting to be able to preform several
finds in that period and an unexpected popup appears, would there be a
"clever" or efficient way of protecting the script?

Would using try statements with a check in the except be practical
(they'd have to wrap almost everything if it was a random popup, no?) or
testing for the global variable before clicks?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.