I looked into it further and found my script. Basically I was using a small library called
URLShot:
URLshot is a PERL hack. It uses the X Virtual FrameBuffer server (Xvfb) and a browser (currently skipstone, because it's tiny and needs minimal user intervention) to grab screenshots of web sites. These are then reduced to thumbnail size and postprocessed for sharpness. The PerlMagick package (a set of Perl bindings for ImageMagick) is used to this effect.
Unfortunately it does not look like this was made for Windows at all.
I looked into ImageMagick a bit more, hopefully you have heard of that. Usually people use that to do all sorts of image manipulation from the command line or scripts. It looks like the
import command line tool allows you capture some or all of the screen:
Use the import program to capture some or all of an X server screen and save the image to a file. See Command Line Processing for advice on how to structure your import command or see below for example usages of the command.
So an example command you could use to take a screenshot of your entire screen could be:
import -window root screenshot.jpg
You could easily run this command from some sort of script you write, you just need to have ImageMagick installed and probably
Cygwin/X. Here are the uses for Cygwin/X:
One use for Cygwin/X is to provide a graphical interface for applications running on the same computer with Cygwin/X which are designed for the X Window System. Such an application is probably running under Cygwin.
Another use for Cygwin/X is as an X terminal: applications running on another computer access the Cygwin/X X server via the X protocol over an IP network. One can run XDM on the remote system so that a user can log in to the remote computer via a window on the Cygwin/X system and then the remote system puts up web browsers, terminal windows, and the like on the Cygwin/X display.
Another common way for an application on a remote system to operate through a window on a local Cygwin/X display is SSH tunneling. An application on the local system creates an SSH session on the remote system (perhaps the application is xterm and the user types an 'ssh' command). The SSH server on the remote system sets things up so that any X client program the shell starts (on the remote system) uses the local Cygwin/X server
So with Cygwin/X, ImageMagick, and some sort of custom script you write to interface with those, I believe you could do what you want.
Hopefully that gets you going on the right track.
Ozzu Hosting - Want your website on a fast server like Ozzu?