← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #238086]: Is there any command to execute .sikuli from command line without launching sikuli ide?

 

Question #238086 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/238086

    Status: Answered => Open

manas is still having a problem:
I have paste my sikuli file (Example2.sikuli) in C:\Work directory when i am executing from command line i am getting this error
C:\Work>java -jar C:\SikuliX\sikuli-script.jar Example2.sikuli
[error] Did not find any valid option on command line!
usage:
       [-c] [-d <debug level>] [-f <Sikuli logfile>] [-h] [-i <[runner
       (jython)]>] [-l <one or more foobar.sikuli>] [-r <foobar.sikuli>] [-t
       <foobar.sikuli>] [-u <User logfile>] [-x]
----- Running SikuliX-IDE or SikuliX-Script -------------
 -c,--console                            print all output to commandline (IDE
                                         message area)
 -d,--debug <debug level>                positive integer (1)
 -f,--logfile <Sikuli logfile>           a valid filename
                                         (WorkingDir/SikuliLog.txt)
 -h,--help                               print this help message
 -i,--interactive <[runner (jython)]>    start interactive session and/or select

                                         ScriptRunner
 -l,--load <one or more foobar.sikuli>   preload scripts in IDE
 -r,--run <foobar.sikuli>                run script
 -t,--test <foobar.sikuli>               runs script as unittest
 -u,--userlog <User logfile>             a valid filename
                                         (WorkingDir/UserLog.txt)
 -x,--splash                             show a splash screen to enter options
-----
<foobar.sikuli>
path relative to current working directory or absolute path
though deprecated: so called executables .skl can be used too
------
anything after --
or after something beginning with --
go to script as user parameters (respecting enclosing ")
------
-d use this option if you encounter any weird problems
DebugLevel=3 and all output goes to <workingFolder>/SikuliLog.text
----------------------------------------------------------------

I am using SikuliX in windows 64bit

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.