← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #678057]: capture command wrong using vnc

 

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

RaiMan proposed the following answer:
--- at comment #5:
I have checked the situation. None of the mentioned variants will work against a VNC-Screen object at the script level.

this is the only way currently:
image = client.capture() # will create a ScreenImage object
image.saveInBundle("1.png") # will store the shot in the script bundle as _1.png

... the _ underscore saves the image against being deleted on script
save.

or short:
client.capture().saveInBundle("1.png")

I see, that the whole thing needs a revision, which will take some time
(... but it is on the list now)

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.