← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #406700]: how to give default timeout in sikuli

 

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

    Status: Needs information => Answered

RaiMan proposed the following answer:
ok, understood.

A timeout for SikuliX popups is currently not a feature, sorry.

The only workaround: put it in a thread
Use the appropriate Python feature to start a thread in parallel, that displays the select popup.
In main wait for the thread to finish and get the result. If thread does not finish within 20 seconds, kill it and continue with your default.

right now I do not have the time to write code for that. So come back
later, if you get lost with this.

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