batch jobs using sikuli-ide.jar without help screen coming up?

Asked by Charlie Syracuse

I am trying to call a sikuli script from a another program and I use the sikuli-ide.jar process with a -r to the script. I always get a pop up giving me all the options I can use...but can not find how to prevent this from coming up and just run the script. Can any one tell me how to run a batch script without this screen coming up...it of course runs if i click ok...but that defeats the purpose of running a batch script. Thanks in advance for your help.

Question information

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

supposing version 1.0,1:

use the sikuli-script.jar instead.

… or with sikuli-ide.jar use as Java command line parameter:
-Dsikuli.FromCommandLine

Revision history for this message
Charlie Syracuse (csyracuse-d) said :
#2

thank you for your response. I did not get the sikuli-script.jar when i checked almost all the options. Where can i find the sikuli-script.jar file? Thanks again as this helps a lot.

Revision history for this message
Charlie Syracuse (csyracuse-d) said :
#3

I tried the sikuli-ide.jar with the -Dsikuli.FromCommandLine and the pop up still appears.

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

What version of Sikuli?

Revision history for this message
Charlie Syracuse (csyracuse-d) said :
#5

1.0.1 i down load the latest version and run it on windows - have used this product constantly for a few years and it is fantastic I call a script from other languages using the command line to create an instance of the sikuli script

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

If you want to continue with 1.0.1, then this is the easiest way:

- copy sikulix-setup.jar and runSetup.cmd into an empty folder (does not matter, is intermediate)
- run runSetup.cmd and select option 2
- the setup should run to the end with success
- you will find a sikuli-script.jar and runScript.cmd in the folder
- copy/move both to your working SikuliX 1.0.1 folder
- now you might safely delete the intermediate folder

now you can run your scripts with sikuli-script.jar -r and you will not get the startup dialog

Revision history for this message
Charlie Syracuse (csyracuse-d) said :
#7

Thank you...works