Unable to run sikuli script from command line

Asked by Test App on 2017-05-09

Hi,

I am new to Sikuli. I am facing an issue with running a Sikuli script from command prompt.

In Command prompt i type C:\Sikuli\runsikulix.cmd , the Sikuli Ide opens up

But when i try to run a script from the command line with the below command

C:\Sikuli\runsikulix.cmd-rC:\Sikuli\Calc.sikuli

It says The filename,directory name or volume label syntax is incorrect

Please help

Question information

Language:
English Edit question
Status:
Solved
For:
Sikuli Edit question
Assignee:
No assignee Edit question
Solved by:
Test App
Solved:
2017-05-09
Last query:
2017-05-09
Last reply:
2017-05-09
RaiMan (raimund-hocke) said : #1

C:\Sikuli\runsikulix.cmd -r C:\Sikuli\Calc.sikuli

... there must be spaces

Test App (laxmisaketha) said : #2

Okay Thank you RaiMan

So i ran this with spaces

C:\Sikuli\runsikulix.cmd -r C:\Sikuli\Calc.sikuli

and now it shows no error , My Sikuli IDE opens but the script does not run

This is same as C:\Sikuli\runsikulix.cmd

What should i do to make my script run from command promt

RaiMan (raimund-hocke) said : #3

what version of SikuliX?

what windows? what java?

Test App (laxmisaketha) said : #4

SikuliX Version : 1.1.1

Windows : 10

Java : 8

Test App (laxmisaketha) said : #5

Hi RaiMan,

It Worked fine. I typed it wrong.

Thank you.