sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #47748
Re: [Question #670825]: 1.1.2 Screen.capture(region, 'name') not working --- not valid in Python script
Question #670825 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/670825
Status: Open => Answered
RaiMan proposed the following answer:
1--- get the temporary image file
tempImage = capture(result)
2--- define the new location and image file name
imagePath = "some/absolute/path"
newImage = os.path.join(imagePath, "newImage.png")
3--- move the image file
import shutil
shutil.move(tempImage, newImage)
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.