← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #228401]: Screenshot Caputre not saved in Windows

 

Question #228401 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/228401

    Status: Open => Answered

RaiMan proposed the following answer:
nothing is wrong: temp images are deleted at script termination.

you have to move themto a place of your choice yourself (will be a
feature in the new version ;-)

import shutil
img = capture(some_region)
shutil.move(img, "absolute-path-of image-name.png")

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.