Naming image files at capture time --- IDE Preferences: switch off automatic naming

Asked by Tom Hinds

When running new scripts, one common reason they fail is that Sikuli can't find an image (this is often due to timing or new parts of the script that cause older parts of the script to fail.) When this happens, I'll have to review the script folders for the arbitrary numeric file name (something like 1415376820659.png) before I can get a grasp on what I broke.

It would be great if (at the time of image capture) I could rename the image file to something more readable during debugging, for example, save_icon.png.

Thanks for your consideration, and as always thanks for Sikuli.

- Tom

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Tom Hinds
Solved:
Last query:
Last reply:
Revision history for this message
Tom Hinds (thinds66) said :
#1

Lowering priority on this.

I just realized that I can go back, click any image, rename the image in the Pattern Settings, and Sikuli updates the image name of the file and also in my script. While naming the file at the time of capture would be easier, going back to edit names is a reasonable expectation.

Thanks

Revision history for this message
Tom Hinds (thinds66) said :
#2

Thanks for pointing out the preference.