How to keep main window during execution?

Asked by Gadi Oron on 2020-01-01

I would like to follow some output of the script while it runs, but the window is immediately hidden.

Looked through the options and couldn't find anything.

Thanks

Question information

Language:
English Edit question
Status:
Answered
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Last query:
2020-01-01
Last reply:
2020-01-02
masuo (masuo-ohara) said : #1

If you use command line option "-c" when you run SikuliX from command line, all output goes to stdout.
https://sikulix-2014.readthedocs.io/en/latest/faq/010-command-line.html#command-line-options-intention-ide-should-open

[run command:]
java -jar sikulix.jar -c

[sample codes:]
for i in range(10):
    print "i=%d" % i
    sleep(2)

Can you help with this problem?

Provide an answer of your own, or ask Gadi Oron for more information if necessary.

To post a message you must log in.