Running Sikuli scripts from command line (Linux)

Asked by open on 2010-01-25

I'm on Linux Ubuntu and I want to run a Sikuli script using crontab.

How do I run a specific Sikuli script from the command line?

$ /path/to/Sikuli-IDE/sikuli-ide.sh /path/to/my-sikuli-script
Is a syntax like this already supported?

COMMAND LINE USAGE IS DOCUMENTED AT:
http://sikuli.org/docx/faq/command-line.html

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
Tsung-Hsiang Chang
Solved:
2010-01-25
Last query:
2010-01-25
Last reply:
2010-01-25
Tsung-Hsiang Chang (vgod) said : #1

We have release a command line tool for running a sikuli script without the IDE. The cool can be downloaded at http://groups.csail.mit.edu/uid/sikuli/download.shtml.

Sample usage:

For Windows users, type "PATH-TO-SIKULI/sikuli-script xxxx.sikuli" in the command prompt(cmd.exe).
For Linux and Mac users, type "PATH-TO-SIKULI/sikuli-script.sh xxxx.sikuli" in any terminal programs.

Best Tsung-Hsiang Chang (vgod) said : #2

We have release a command line tool for running a sikuli script without the IDE. The cool can be downloaded at http://groups.csail.mit.edu/uid/sikuli/download.shtml.

Sample usage:

For Windows users, type "PATH-TO-SIKULI/sikuli-script xxxx.sikuli" in the command prompt(cmd.exe).
For Linux and Mac users, type "PATH-TO-SIKULI/sikuli-script.sh xxxx.sikuli" in any terminal programs.
FAQ #928: “Running Sikuli scripts from command line”.

open (opensource) said : #3

Thanks Tsung-Hsiang Chang, that solved my question.

Libo Cao (libocao) said : #4

The command line tool does not exist now after 0.9.7

Libo Cao (libocao) said : #5

scratch above, now the doc is complete, and it works on XP

alcia burke (alcianicole) said : #6

Hi, I am trying to run the command line on Windows XP but getting the following error:
C:\Documents and Settings\sikuli\Sikuli-IDE>Sikuli-IDE.bat -r all_u_tab.sikuli --args -s

"Redirect stdout/stderr to console."

What am i Doing wrong?

alcia burke (alcianicole) said : #7

Hi, I am trying to run the command line on Windows XP but getting the following error:
C:\Documents and Settings\sikuli\Sikuli-IDE>Sikuli-IDE.bat -r all_u_tab.sikuli --args -s

"Redirect stdout/stderr to console."

What am i Doing wrong?