To execute slides (e.g., helloworld.pptx), type the following in the command line:
$ java -jar sikuli-slides-1.5.0.jar execute helloworld.pptx
Executing Remote Files
If the file is hosted on a remote web server, you can execute it by supplying the URL to that remote file as an argument. Sikuli Slides will try to download the file for you and executing it. For instance, suppose helloworld.pptx is hosted at the URL http://silides.sikuli.org/helloworld.pptx, you can execute this remote file as follows:
$ java -jar sikuli-slides-1.5.0.jar execute http://slides.sikuli.org/helloworld.pptx
If the file is a Google Presentation hosted on Google Drive, you can execute it by supplying its public sharing link. Make sure you have already set the file’s sharing setting as “Anyone who has the link can view”. This enables Sikuli Slides to download the file for you.
$ java -jar sikuli-slides-1.5.0.jar execute \\
https://docs.google.com/presentation/d/1w48gExh5oLIT0J8xYXR1RxpqTrZTXJC8OR4UXxShTQ8/edit?usp=sharing
Options
There are several command line options that can be set to control the execution behavior of Sikuli Slides.
Option | Description |
---|---|
|
The minimum similarity score for a target to be considered as a match. It's a 10-point scale where 1 is the least precise search and 10 is the most precise search (default is 7). |
|
The id of the connected screen/monitor (default is 0). |
|
The maximum time to wait in milliseconds to find a target on the screen ( default is 5000). |
|
Parameters as name=value pairs joined by semi-colons. See Parameters for more details. |
|
The range of the slide(s) to execute. For instance,
Note that the slide number is 1-based. |
|
The bookmark from which to start executing. |
|
The level of log messages to print to the console. Choices are ALL, TRACE, DEBUG, INFO, WARN, ERROR, OFF (default: INFO). |