sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #45010
Re: [Question #661673]: Sikuli- IDE image save to desktop
Question #661673 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/661673
Status: Open => Answered
RaiMan proposed the following answer:
I do not understand, why you want to have the shots on your desktop, but
if you want ...
The IDE does not have a feature to directly store a shot to another
folder than to the current script's folder (bundlepath).
The normal way, to get the images shot from the IDE elsewhere:
- save a new empty script to your Desktop (say as images.sikuli)
- make your shots
- save the script and close it in the IDE
rename images.sikuli on the Desktop to just images and you have your images in there.
You might now delete the contained non-png files.
... and a new option:
With latest 1.1.2 nightly from yesterday you can make a small script like this:
capture("make a shot for Desktop", "<path-to-folder>", input("image
name"))
each time you run it, you will be asked for a name for your image (.png
can be omitted) and the resulting image shot will be stored to the given
folder (which might be your Desktop).
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.