sibson / vncdotool

A command line VNC client and python library
Other
451 stars 120 forks source link

Vncdotool VNClog Options #181

Closed Paulynz closed 1 year ago

Paulynz commented 3 years ago

I would like to ask how to use the vnclog option in the vncdotool module. I already read the documentation but I don't seem to understand how it works. My plan is to record all the keystrokes/mouse movement in the remote PC(VNC Server) then load it as a .vdo file in my code.

Creating long lists of commands can be time consuming so vncdotool provides a log mode that records a users interactions to a file, which you can then playback with vncdo. For best results set your client to use the RAW encoding. Others encoding may work but are not fully supported at this time.:

vnclog keylog.vdo
vncviewer localhost:2 # do something and then exit viewer
vncdo keylog.vdo

image

sibson commented 1 year ago

The commands you posted look correct. I'm unsure what the question is.