views:

268

answers:

5

I want to capture the output of an exe file as an png or jpg image, i mean the display of that exe. Is there any command on windows to capture and save as image of an exe output or any other idea that i can do this.

+1  A: 

The Alt+PrtSc key combination will take a snapshot of the current window and save it into the clipboard. Then you can paste it into your drawing program of choice (MS Paint will do if nothing else is available), and save it to disk.

Greg Hewgill
A: 

Alt-PRTSC, then open an image editor and paste.

Software Monkey
A: 

Pressing the Alt + PrintScreen combination on your keyboard will capture the active application window and put it as an image on the clipboard. You can then paste it into Paint or any other application.

Liam
+1  A: 

There is always the Robot class in Java. That may be helpful. Check out this slightly related question.

jjnguy
A: 

Pardon me... I cant have a monitor. so whatever method you are saying will end up with the headless exception in java!

gotcha?! any help?