I can't find documentation in SikuliX to show a window or dialog and hide/close it after configured time. Since SikuliX uses Jython behind the scenes and Jython can access Java easily then showing a simple Swing window should be straightforward.
Sample code below demonstrates
Alternative solution as proposed by Raiman
Reference(s):
Github
https://github.com/haru-a8n/CodeSamples/blob/master/sikulix/ShowMessage.sikuli/ShowMessage.py
Jython GUI Sample applications
http://www.jython.org/jythonbook/en/1.0/GUIApplications.html
Swing Sample applications in Jython
https://wiki.python.org/jython/SwingExamples
Showing posts with label Jython. Show all posts
Showing posts with label Jython. Show all posts
Sunday, January 31, 2016
Tuesday, November 04, 2014
"console: Failed to install '': java.nio.charset.UnsupportedCharsetException: cp0" message when opening a PyDev console
When opening a PyDev console using Jython 2.7b3, I am getting the following error message.
This does not show up in Jython 2.5. Note that this was already reported elsewhere, like:
http://sourceforge.net/p/jython/mailman/message/32935457/
http://bugs.jython.org/issue2222%3E
To workaround this issue, add -Dpython.console.encoding=UTF-8 in PyDev configuration, see below for details.
console: Failed to install '': java.nio.charset.UnsupportedCharsetException: cp0
This does not show up in Jython 2.5. Note that this was already reported elsewhere, like:
http://sourceforge.net/p/jython/mailman/message/32935457/
http://bugs.jython.org/issue2222%3E
To workaround this issue, add -Dpython.console.encoding=UTF-8 in PyDev configuration, see below for details.
Subscribe to:
Posts (Atom)
Formatting code in Blogger
I have been using Github gists to share code and I have no plan of abandoning it. For smaller/one liners, I sometimes use div element with ...

-
Installing MonoDevelop in OpenSUSE 12.2 from its repository was very easy. When running it for the first time though I got the message: Th...
-
Tried to update my Ubuntu host today and it did pickup that new version of VirtualBox is available (4.1.8). All other packages installed pro...
-
This is quick start guide how to run ssh server on QNX. Tested on QNX 6.5 (650SP1-VM.tar). # ssh-keygen -t dsa -b 1024 -f /etc/ssh/ssh...