Comment 1 for bug 666402

Revision history for this message
Rolf Wilms (rolf-wilms) wrote : Re: wishlist: way to run Sikuli's image match preview

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.