Okey. Here's what I want to do:
I have a windows application that sorts a folder specified by the user. I want to take a screenshot of this folder before sorting, and then again when my program has finished sorting the folder.
I know how to take a screenshot of an active window using the following link:
Capture screenshot of active window?
However, what happens if I want to take screenshot of an unopened location?
Meening, that I want to take a screenshot of a folder that is not opened at all. Is it even possible?
If yes, then how would I go about achieving this?
One way I guess would be to make the program open the folder -> take screenshot -> close it -> sort folder -> open folder -> take new screenshot -> Show on screen
This isn't a very elegant solution though.
Can anyone shed some light on this issue? Thank you for your time!