Screen capture vnc screen. Is it possible?

Asked by Stephen Carroll

Running 1.1.2, wondering if there is a way to capture a vnc remote screen to png file.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
RaiMan
Solved:
Last query:
Last reply:
Revision history for this message
RaiMan (raimund-hocke) said :
#1
Revision history for this message
Stephen Carroll (scarroll) said :
#2

Unfortunately no, it looks like .capture is only a method for Screen objects, not vnc objects. Currently returns a non-filename. I can use another library to work around the requirement. It would be neat for .capture to work on vnc objects in the future though. Just my vote.

This is a very large project. Thanks for all your work!

Revision history for this message
Best RaiMan (raimund-hocke) said :
#3

Not sure, where you are doing what.

In SikuliX there are no "vnc objects".

According to the docs mentioned in comment #1, you get a VNCScreen object, that in turn implements the ISCreen interface.

... and VNCScreen.capture is definitely implemented.

Please give it another try ;-)

Revision history for this message
Stephen Carroll (scarroll) said :
#4

Ahh yes, got it! My syntax was off. Thank you again!