upvote
Interesting… do you have a link to the docs? The easiest thing prob would be to set the window to be fullscreen, but on that virtual display. That would accomplish per window screen capture.
reply
It's a private API CGVirtualDisplay, but mostly well reverse engineered. Here's one example I found of a wrapper library

https://github.com/enfp-dev-studio/node-mac-virtual-display/...

reply
100. Thanks!
reply