How to run .sikuli command line without pressing ok button on popup.

Asked by Learner

When i'm running sikuli command line using below command , a popup is coming showing parameter info etc . I need to click OK every time to proceed . Is there a way to bypass that popup ( without clicking on OK button or Enter key again ?? ).

cd C:\\gop\\Other\\SikuliScripts & java -jar C:\\setups\\Sikuli\\sikuli-ide.jar -r second

In above second.sikuli is the sikuli folder

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
obiwan-92 (obiwan-92) said :
#1

Hello.

Yes, call the runIDE.cmd in your Sikuli install folder.

Or if you want to launch directly the jar :
%JAVA_HOME%\bin\java.exe -Xms512M -Xmx1024M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine -jar "sikuli-ide.jar"

Regards.

Revision history for this message
Learner (gopikrish2000) said :
#2

Hi Obiwan ,

java is already in my environment variable . From my understanding of your answer i added extra param ( -D sikuli.FromCommandLine ) still its giving popup ( http://dl.dropboxusercontent.com/u/169251534/other/sikuliPopup.PNG) .
Below is the command

java -jar C:\setups\Sikuli\sikuli-ide.jar -r "C:\gop\Other\SikuliScripts\second" -D sikuli.FromCommandLine

So what i'm doing wrong ??

Revision history for this message
Best RaiMan (raimund-hocke) said :
#3

java -Dsikuli.FromCommandLine -jar C:\setups\Sikuli\sikuli-ide.jar -r "C:\gop\Other\SikuliScripts\second"

Revision history for this message
Learner (gopikrish2000) said :
#4

Thanks RaiMan, that solved my question.