← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #181758]: Problem in capturing a region

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
after capturing an image this way, you have to move it to a safe place,
since the temp images are purged, when the script ends.

import shutil
img = capture(someRegion)
shutil.move(img, "path-to-some-folder-imagename.png")

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