How to take a screen shot of non active window? If I have 2 windows, I want to capture the screenshot of the one which is running in the background.
I have to (scriptly) take screenshots of windows, some of which may be partially or fully hidden by other windows. Of course, in such a case the screenshot is useless, and I'd rather print a warning. ...