Debug.level = n
Preferably n as 3. Debug information is produced from the very beginning of startup.
SikuliX now has a basic implementation of a global options repository, that is recognized and loaded at startup time (IDE and API usage). At runtime, this options store can be accessed to get and set values. Persistence (save) and merge of additional options files is not yet supported.
Since internally the options are stored in a Java Properties object as key-value-pairs in string representation, the options file must conform to the applicable rules).
SikulixOptions.txtAt startup these locations are searched in order — first appearance wins:
Options defined in the Settings class behave specially — see Controlling Sikuli Scripts and their Behavior.
Any Settings.option = value declaration in the options file will overwrite the existing option value in the Settings class at startup.
Debug.level = n
Preferably n as 3. Debug information is produced from the very beginning of startup.
Settings.OverwriteImages = yes
When saving images in the IDE with a name that already exists, files are normally renamed with a -n suffix. With this option on (default: off), naming images with an existing name will replace the file without notice.
classpath = list of absolute-paths
Appends the given paths to the end of the classpath in sequence. Same rules as Java classpath on that system — on Windows, backslashes must be doubled (escaped).
Up to 1.1.3 onlyBy right-clicking on a line number the pop-up context menu lets you:
Run this line
Run only the line at this line number.
Run from top
Run the script from the beginning up to and including this line.
Run to bottom
Run the script from this line to the end.
Run selection
Run the snippet in the current selection — or this line if nothing is selected.
The Run menu now contains the entry Run selection (Shift+Ctrl/Cmd+R), which also runs the current selection — or the line at the caret if nothing is selected. The advantage is the available shortcut, which saves additional mouse actions.
This feature might be a neat replacement for the no-longer-available interactive mode from the commandline.
It is now possible to work with plain Python files in the IDE, which allows direct support of the classic Python style of scripts and folder structures (modules).
.py files.py context.py files