SnapUP.cmd v2.0 This script will create a GIF of your screen, produce an animated GIF of the last X number of screen shots and upload both of those files to an FTP server. As of v2.0, it can also wait for a user specified file to appear allowing an external program (such as NexStorm or L2K) to produce a screen capture. Waiting for the external program to create the screen capture file allows you to run this script on another machine. For instance, you can have your lightning detector lightning detector machine running Win98 and sharing a drive. Then, using SAMBA on Linux, you can access that drive and the script running on the Linux box will see the screenshots as they appear. All of the following programs (except for, obviously, WinCap) have Linux binaries. The only issue I have seen with this script is that under Win9x (and possibly WinME) if you use the WinCap program for the screen capture, temporary files get left in the windows temp directory. My machine reboots once a day so I put a "del c:\windows\temp\*._rx" /y" in my autoexec.bat. If you plan to keep it running for days at a time, I would set up the windows scheduler with that delete cmd. One neat feature is that if a user specified file exists, the script will pause until that file is deleted. This is useful if you want to make some configuration changes in your detection software and you don't want to have to kill the script or have the script take a screenshot of your config screen. This script and all of it's components are FREEWARE. This script requires the following: Regina Rexx interpreter: regina.exe,regina.dll http://regina-rexx.sourceforge.net/ Regina Rexx utils: rexxutil.dll http://www.interlog.com/~ptjm/ WinCap.exe http://www.rudware.com/lightning/howto.html nconvert.exe http://come.to/xnview gifsicle.exe http://www.lcdf.org/~eddietwo/gifsicle/ ncftpput.exe http://www.ncftpd.com/ All of these programs should have come in the distribution that this file came in Unzip the archive into a directory. Put that directory on your path. Edit the Snapup.cmd file and change the variables to match your system. Invoke the program with "regina snapup X" where X is a number of minutes to wait between screen captures. User Variables to change: USING_EXTERNAL_CAPTURE="false" set to true if you are using an external screen capture such as NexStorm's. set to false to use the WinCap screen capture /* name of the External screen cap file */ ext_screencap_name="c:\nexstorm\screencap.png" min_to_wait=3 this is the number of minutes to wait between screenshots and can be overridden by passing a number on the command line server="ftp.blah.org" This is the DNS name of your ftp server userid="lightning" This is your ftp user name password="mypasswd" Your ftp password image_path="c:\snapup" where this program was installed max_frames=10 number of frames in the animated gif prefix = "lgt" the prefix of the local filename - a prefix of "lgt" will produce lgt00001.gif and constantly increment the number remote_path = "/weather" the path to the sub dir where you plan to store your images on the ftp server remote_file = "lightning1.gif" the filename of the latest screen capture on the ftp server remote_animated_file = "animate.gif" the filename of animated gif on the ftp server animate_pause_time=100 animation pause time in ms animate_loops=99 number of times the animation should loop pause_file="c:\pause.rud" the name of the file that if exists this script will wait until it is deleted LOG_ALL_TEXT=1 write text out to file for logging logfile="snapup.log" log file name