sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #23874
Re: [Question #243242]: Is it possible to convert a .skl file to a .exe file?
Question #243242 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/243242
Description changed to:
I have searched high and low for this answer but to no avail.
I understand that .skl file is an executable file and can be run via the
command line. I can also create a batch file to execute this .skl file
so that all I need to do is to run the batch file.
But this leads to the command prompt being opened, and then the sikuli
script being run. What I want to achieve is that the end user can click
on a .exe file, and it runs the .skl file, to keep it as simple as
possible without opening any additional programs.
Is there any way for me to do this, or is the batch file as far as I can
get?
If the batch file is as far as I can go, how do I do it?
I've tried this:
java -jar "C:\path-to-sikuli\sikuli-ide.jar" "C:\path-to-skl\script.skl"
java -jar "C:\path-to-sikuli\sikuli-ide.jar" -r "C:\path-to-skl\script.skl"
The first one simply opens up the IDE without running the script and the
second one pops up with a prompt: http://i.imgur.com/7RotHec.png
When I click OK, the script runs, but I don't understand why the prompt
appears in the first place since I already told it to run the .skl file.
Thanks.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.