Came to this forum looking for exactly this issue.
Currently, I have a process that captures the environment and loads it into a Blue Prism image data type. Unfortunately, the whole process involves taking a screen cap similar to the starting post, and then popping open Paint, Pasting it, and then copying that image to the paint canvas. From there I am saving the visual region in paint either as BP Img data or a .png file.
A curious thing is that you can actually hook BP right into the underlying Windows OS and take a 'region' cap of the desktop. Unfortunately, you get exactly that, the desktop without of the overlaying windows even if they're open. I was about to take a stab at it via some VB coding, but I was hoping to find a simple solution first.
I wanted to add that the Post by Denis raises a good issue, but so long as the file stays Internal as a Blue Prism Img data type, it's not readily publishable as a Windows System level data item, and might be viewed 'differently' for security reasons. Just a thought.
I'm sure I can get the screen cap into a VB image type, transitioning it to a BP 'Img' data type is really the only hiccup at this point. Here's to hoping one of the minds at BP reads this thread.
-Tyler