← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #225953]: Save name or picture captured on a file txt

 

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

    Status: Open => Solved

Raphael Silva confirmed that the question is solved:
OK, is working. Thank you RaiMain!

import os
import shutil
dir = "C:\mylib"
img = capture(SCREEN) # stores a shot as temp file
imgNew = "test"
shutil.move(img, os.path.join(dir, imgNew + ".png"))

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