I would like to request a new flag to the sikuli-ide.sh command that would take a parameter of a PNG file, and go directly into the pattern match preview popup that the IDE provides when clicking on an image. Something like: sikuli-ide.sh -i imageToTest.png
Rationale: Following an example I saw here, I'm writing a lot of Sikuli-enhanced support libraries, using the "execfile()" workaround to import the libraries into the Sikuli JUnit scripts. As I get better using the Sikuli API, I find that I use the IDE less and less for authoring and maintaining scripts, but I do have a need to test image matches against various states of the application I'm testing. Currently, I work around this by just creating a 'scratch.sikuli' project, and I can copy the PNG files I want to test into scratch.sikuli and list them in scratch.py.
I assume that others who develop a test library and a series of utility methods have a similar workflow, and I hope it'd be of general use to others to test image matching without the IDE.
While I'm still using the IDE, I can also imagine using a dedicated editor or IDE for Python script, e.g. one with code-completion, debugging etc. Should be possible e.g. using a Python Eclipse plugin with jython support.
Some of the unique features of the Sikuli IDE should still be available.
To me, most important would be:
1. show the picture for a *.png file
2. match/identify it on the screen (your request)
3. interactively adjust the sensivity
4. adjust the click point
To me it seems as if a simple and flexible way to achieve this would be using the clipboard:
The Sikuli dialog stays open and polls the clipboard until something with "png" appears, possibly surrounded by Location, Pattern clickpoint or sensivity source code.
It then shows the image, possibly applying a search path to find it.
I can the use the dialog to match/identify and adust.
When finished, I press a "copy" button which copies the whole thing with sensivity and clickpoint updated back to the clipboard, from where I can paste it back to the editor.