How to take screenshot in Windows? How to take screenshot in Windows? 1233213123213 (Programmer) (OP) 29 Dec 11 06:26 Hi,Could someone provide me an example to show how to take screenshot in Windows? Not widget screenshot.Thanks in advance. RE: How to take screenshot in Windows? tcltest (Programmer) 17 Jan 12 01:29 you can use print screen button and paste in paint right ? RE: How to take screenshot in Windows? 1233213123213 (Programmer) (OP) 14 Feb 12 22:06 But I want to do this in tcl script. RE: How to take screenshot in Windows? PinkeyNBrain (IS/IT--Management) 16 Feb 12 08:18 I found this:http://stackoverflow.com/questions/7324902/c-code-to-mimic-keyboard-commandsIt won't specifically answer your post here, but may offer leads on what you're after. My C++ is pretty weak so I can't offer much on the way of explanation. I have on occasion used code to write a micro-size batch files and executed them. (eg. generate a tmp.vbs file and then call that through a system call) - There may be a Windows API that can mimic the ^PrtSc or Alt-PrtSc keyboard interrupt sequence. *IF* that works, then getting your image out of the copy buffer would be the next hurtle.