Screenshot of remote computer.

zachpeletz's icon

I'm trying to find a way to be able to take screenshots of a remote computer's second monitor. The computer will be on my LAN. The goal is to be able to type in it's IP address, grab snapshots of it's second output, and save them to my local computer (which will run the Max patch). Any pointers on where to start with this one?

Nat's icon

If you're on a mac the easiest would be to ssh to your remote computer and run this command :
screencapture test.jpg
you can then scp the file back.

zachpeletz's icon

Is this something I can achieve within Max?

touk's icon

hi,
i will follow NAT answer...

you can do with the jit.gl.lua object system command like :

local cmd = os.execute("screencapture TEST.jpg")

and then take back the picture

Emmanuel Jourdan's icon

or something like that: jit.desktop -> jit.net.send