Screen capture a remote desktop into the remote clipboard
Alec Jacobson
January 06, 2012
I'm working a bit with Apple Remote Desktop now and I'm having trouble taking screen captures. It seems easy to take a screen capture that ends up as a file on or in the clipboard of the client side. But I'd rather be completely immersed in the remote computer, so ideally when I hit CMD+SHIFT+3 I'd get a screen shot the size and resolution of my remote desktop saved to the remote's clipboard.
Here's what I'm doing for now. I prepare my app that I want to screen capture then I switch to terminal and issue
echo "tell application \"skinning\" to activate" | osascript - && screencapture -c
This switches to my app and takes a screen capture into the clipboard.