sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #46638
[Question #667235]: Run from Command line (Linux)
New question #667235 on Sikuli:
https://answers.launchpad.net/sikuli/+question/667235
1.1.2(2018-03-08_08:37)/Linux4.13.0-36-generic/Java8(64)1.8.0_161-b12
Linux Mint
IDE Runs fine
Tried reading all the questions and replies about running script from command line but getting nowhere
http://doc.sikuli.org/faq/010-command-line.html
says :-
PATH-TO-SIKULI/sikuli-ide.sh -r xxxx.sikuli —args a1 a2 a3
but I cant find a sikuli-ide.sh anywhere on my machine
My info :-
jeff@jeff-Satellite-L650 ~ $ ls Sikuliapp
Sikuliapp
jeff@jeff-Satellite-L650 ~ $ ls -lisa Sikuliapp
15997960 4 -rwxrwxrwx 1 jeff jeff 35 Mar 10 07:33 Sikuliapp
jeff@jeff-Satellite-L650 ~ $ cat Sikuliapp
cd /home/jeff/Sikuli
./runsikulix
============ So I cd to Sikuli and ===============
jeff@jeff-Satellite-L650 ~ $ cd Sikuli
jeff@jeff-Satellite-L650 ~/Sikuli $ ls
com Lib SikuliX-1.1.2-SetupLog.txt
Commands macapp sikulix.jar
content META-INF sikulixsetup-1.1.2.jar
Images org srcnativelibs
ImagesAPI.sikuli runsikulix Support
JavaScript se
jxgrabkey Settings
============ looked at runsikulix ============
jeff@jeff-Satellite-L650 ~/Sikuli $ cat runsikulix
#!/bin/bash
JAVA=X
JAVABIN=java
PROPS='-Xmx512M -Dfile.encoding=UTF-8 -Dsikuli.FromCommandLine'
sjar=sikulix
if [ "$JAVA_HOME" != "" ]; then
JAVABIN=$JAVA_HOME/bin/java
fi
if [ "$SIKULIX_HOME" != "" ]; then
echo "SIKULIX_HOME in environment specified as "$SIKULIX_HOME
shome=$SIKULIX_HOME
else
shome=`dirname $0`
fi
if [ -e "$shome/$sjar.jar" ]; then
echo "running SikuliX: $PROPS"
echo "-jar $shome/$sjar.jar $@"
"$JAVABIN" $PROPS -jar "$shome/$sjar.jar" "$@"
else
echo "Error: terminating: $sjar.jar not found at: "$shome
fi
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.