Question #184448 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/184448
Status: Open => Answered
RaiMan proposed the following answer:
First tip:
forget the executables. These are only zipped .sikuli folders and lack some
features.
Just leave your scripts as .sikuli and use them the same way as the .skl.
--- want to run scripts one after the other
depending on your programming/scripting knowledge (especially Python) there are
many possibilities to achieve that.
- most flexible - most challenging
use Pythons unittest feature (see faq )
- use import
and run the main script from command line
example:
- have all you scripts in one folder (script1.sikuli, script2.sikuli, ...)
- each script must have "from sikuli import *" as first line
- make a main.sikuli
# content:
import script1 # this runs the script
import script2
You have to run main.sikuli from command line using Sikuli-IDE.bat.
Or you can run it in Sikuli IDE, but only once (you have to exit/restart the
IDE before running the script again).
(for more info: http://sikuli.org/docx/globals.html#importing-other-
sikuli-scripts-reuse-code-and-images)
--- make a batch file with a for-loop
use the command
java -jar %SIKULI_HOME%\sikuli-script.jar some-script.sikuli
to run a script
and give a list of scripts as parameter
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.
_______________________________________________
Mailing list: https://launchpad.net/~sikuli-driver
Post to : [email protected]
Unsubscribe : https://launchpad.net/~sikuli-driver
More help : https://help.launchpad.net/ListHelp