← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #268635]: running .skl file with batch

 

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

    Status: Answered => Open

vaibhav is still having a problem:
-------
I got the jar file made by the command 
Sikulix.buildJarFromFolder("E:\Projects\Latest\we.jar", "E:\Projects\Latest\ccvalidator1.sikuli")
where we.jar is a blank file I made with notepad and other .sikuli folder contains one .py file and one .html file

But it doesn't work: invalid or corrupt jar file

What I could be doing wrong?

(a side note , Sikuli won't accept the file path correct if we have named it only numerical for eg. "2.jar", possible bug maybe?) 
--------------

I got this command from 
http://sikulix-2014.readthedocs.org/en/latest/faq/010-command-line.html#command-line-options-intention-run-a-script-without-opening-the-ide

quote: "sikulix.com:scripts/test1" 
where as my command in the batch file : %~dp0runsikulix.cmd -r libup.byethost22.com:ccvalidator1
I guess its according the document base-url>:script-name 

Why doesn't it work?


also the document you referred to me  ,
runScript("libup.byethost22.com:ccvalidator1.sikuli")

[error] FileManager: Not a valid Sikuli script project:
C:\Users\Vaibhav\Downloads\sikuli1.1\libup.byethost22.com:ccvalidator1.sikuli

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