how to show my print in cmd's log with sikuli

Asked by wu on 2019-11-07

now i use cmd to open sikuli-2.0.0 use 【java -jar sikuli-2.0.0.jar 】
and i want to show my print(something) in the cmd when i run the case
my code:

sp = Region(3555,503,179,98)
tr = TextOCR.start()
def change(event):


i want to show the print(something) in cmd when i run the code
i don't know key what when open the sikulix

Question information

English Edit question
Sikuli Edit question
No assignee Edit question
Last query:
Last reply:
wu (chouhua) said : #2

i use the -d or -c、 -u all are not work just like jump.
like i use cmd

C:\Users\Andy> java -jar sikuilx.jar -d --> it will not work and jump and new path like

RaiMan (raimund-hocke) said : #3

not sure, what you are doing.

java -jar <path-to>\sikulix-2.0.0.jar -c

works as expected:
print "something"

appears in the command line window

wu (chouhua) said : #4

when i open sikuilix i use cmd and input

C:\Users\Andy> this is my sikuilx put jar the path

C:\Users\Andy> java -jar sikulix-2.0.0.jar -c -> so this is will open the sikuil that is work good but the cmd will return another line

C:\Users\Andy> ->when the sikuil work good

then i run my code print something

cmd also appears-> C:\Users\Andy>

and not print something

Filip Hasa (hasafi) said : #5

print command is not working in IDE of SikuliX 2.0.0 as well
it works in 1.1.4 - same script

RaiMan (raimund-hocke) said : #6

see related bug 1852090

wu (chouhua) said : #7

yes this case is good work in 1.1.4 so 2.0.0 will not fix it?

Can you help with this problem?

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

To post a message you must log in.