Download Lightning/2000

Transcript
R E A L - T I M E
L I G H T N I N G
D E T E C T I O N
Appendix E
Custom Summary
Examples
Performing Screen Captures and FTP •
Sending E-Mail or Text Messages • Sending
Place-Specific E-Mail • Sending Text
Messages to Local Recipients • Sending PlaceSpecific Text Messages
Performing Screen Captures and
FTP
; This example produces images of the various windows
; in Lightning/2000 and FTPs them to a remote server.
; To use the #PerformFTP command, you need to fill out
; the information in the FTP Options dialog (choose
; “Options | Internet | FTP…” from the main menu.
;
;
;
;
First check to see if it has been at least 5 minutes
since the last FTP. If it hasn’t, don’t spend time
producing the files since they wouldn’t be uploaded
anyway.
if @MinutesSinceFTP >= 5 then
; Save the Custom Summary to a text file.
#ProduceScreenCapture(
'Custom Summary',
@L2KFolder + custsum.txt’ )
319