I'm using the screencapture command line util to capture window contents of a MS outlook window. I have two macs, one I've had for a while and upgraded to 10.13.3 gradually; another I installed MacOS 10.13 recently from scratch.
The one I've had for a while captures all windows correctly when I run
screencapture -o -l ###
Where ### is the ID of the window gleaned from applescript. However, on the other mac, contents of the window are missing on some windows (MS Outlook and Terminal).
When I capture the entire screen the window contents are present. Is there a configuration option that would change whether a window's contents are returned or not? Is this a permissions issue?
Some windows capture and show their contents (Contacts App, Calendar) and some don't on the affected Mac (Finder, MS Outlook, Terminal do not) Same behavior happens with Shift-Command-4 and then space to capture a window directly.