This is a little bit of an off-topic solution but I was faced with a similar task where I had to do screen dumps of clients in our machine farm as problems arose. I didn't find a hands-off solution with Perl (not to say it doesn't exist; it just wasn't right in my face). I was, however, able to automate the process VERY easily with python using PIL (Python Image Library) and the ImageGrab module.
If you use this (or a perl equivalent) and you want to go straight from HTML to a JPEG, you should be able to launch a process against the HTML file which should fire off you browser (assuming file associations are set correctly on the machine) and then do the screen dump. Again, you'll probably get more elegant solutions but this is quick and dirty (especially if you already have python on your machine and don't mind making an external system call). The python script is literally as simple as: import Image import ImageGrab import traceback # simple python script that does a screen dump try: jpegfile = "screenshot.jpg" ImageGrab.grab().save(jpegfile) print "Done!" except Exception,e: traceback.print_exc() _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs