← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #215672]: Display Text for Debugging

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
You seem to work with the Sikuli Guide extension.

Just dispatch the text display to a subtask using thread or subprocess to make it asynchronous.
Even with the easiest version thread, it is possible to implement some basic communication between main and thread.

Using show() you have to implement a slow running loop, that checks,
wether the content to display has changed and then renew the display,
since show does not have such a feature.

If you have some experience with Java, then it would be much easier to
setup a suitable JFrame, whose content can be adjusted on the fly every
time you want and its viability can be switched on and off as needed.

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.