sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #30154
[Bug 1412533] Re: [request] IDE should support ImagePath: displaying thumbnails and storing images
Thank you for the quick response, RaiMan!
I wanted to also mention a side effect of the subject issue. If you use
ImagePath.setBundlePath instead of imagePath.add newly created images
will work fine in the IDE, but they will *not* load properly when
running from the cmd shell.
Bottom line, it is safer to use add() instead.
Thanks again!
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1412533
Title:
[request] IDE should support ImagePath: displaying thumbnails and
storing images
Status in Sikuli:
In Progress
Bug description:
SikuliX version 1.10 (2015-01-16_01:00nightly build)
32-bit Windows XP VM with JRE 7
I have developed some scripts that use a shared image directory. One
script is imported by the others and uses
ImagePath.setBundlePath("\path\to\shared\img\dir"). All images are
referred to by name with no path in the scripts.
All of the script run fine both from the IDE and cmd shell. However,
none of the image thumbnails are displayed in the IDE or generated
HTML. Newly generated images are always placed in the working
directory of the script.
One of the big advantages of using the IDE is being able to visually
check image matches in your current screen. It would be nice to be
able to do this using shared images. For now, one has to copy the
images back to the current directory.
Ideally, the IDE would use ImagePath and display the first image found
in that path regardless if it was the first path entry. That way
ImagePath.add could be used as well). Newly created images would go
to the first entry in ImagePath.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1412533/+subscriptions
References