Page 1 of 1

Screenshots of inactive window

Posted: 22 Nov 2013 03:39
by mrxindowntown
Is it possible to automatically take a screenshot of a specific window (even when it's not active/visible) every 5 mins or so and then save to a pre-defined location with a unique filename e.g. 2013_11_12_10:15_LoggedInUser_sometext_1?

I know most of it is possible except for the "take a screenshot of a specific window (even when it's not active/visible)" part.

Re: Screenshots of inactive window

Posted: 22 Nov 2013 07:42
by Squashman
Not with Batch.
You would need to do it with some other 3rd party utility. Take a look at AutoHotKey or AutoIt.

Re: Screenshots of inactive window

Posted: 22 Nov 2013 07:47
by mrxindowntown
Squashman wrote:Not with Batch.
You would need to do it with some other 3rd party utility. Take a look at AutoHotKey or AutoIt.


That's only for the automating part though right. How about actually taking a screenshot of an invisible window though. That's the portion that I haven't been able to figure out.

Re: Screenshots of inactive window

Posted: 22 Nov 2013 08:18
by foxidrive
Why do you need to screengrab hidden windows? It sounds a bit like you are spying on someone using a computer.

Re: Screenshots of inactive window

Posted: 22 Nov 2013 08:56
by Squashman
mrxindowntown wrote:
Squashman wrote:Not with Batch.
You would need to do it with some other 3rd party utility. Take a look at AutoHotKey or AutoIt.


That's only for the automating part though right. How about actually taking a screenshot of an invisible window though. That's the portion that I haven't been able to figure out.

Your thought process is completely backwards. Batch files are great for automation. Not so great with working with other programs that use GUI's.

Re: Screenshots of inactive window

Posted: 23 Nov 2013 05:35
by shayanjameel08
Taking a screen shot of a window using Delphi code is rather easy.
A screen shot (screen capture) is a copy of the screen's contents that can be saved as a graphics file or displayed in a graphics "aware" control...