to create an image (jpeg or gif) from the window that WSH has just activated?
Something like this......
process_id = WshShell.AppActivate("The caption of a window I would like to create an image of

ImageMagickCreateJPEG_Function(proces_id, "/directory/where/I/want/the/image/placed")