sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #01716
Re: [Question #148652]: Is it possible to change the captured file name
Question #148652 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/148652
Status: Open => Answered
RaiMan proposed the following answer:
ok, understood.
This you have to script with python features:
img = Screen(0).capture(27,170,963,159) # now contains filename in temp
folder
import shutil
move (img, "path-and-name.png") # moves img to destination
e.g. move it to your current .sikuli:
import os
move (img, join(getBundlePath(), "some-name.png")
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.