Sending e-mail or text messages – Boltek Lightning/2000 User Manual

Page 322

Advertising
background image

L I G H T N I N G / 2 0 0 0

322

322

322

322

; Add the new file to the upload queue.

#AddToUploadQueue( @L2KFolder + 'rates.png' )

; Produce an image of the Totals window
; at 100% of its on-screen size and save it to
; a file named ‘totals.png’ in the
; Lightning/2000 folder.

#ProduceScreenCapture(
'Totals',
@L2KFolder + 'totals.png',
100 )

; Add the new file to the upload queue.

#AddToUploadQueue( @L2KFolder + 'totals.png' )

; Produce an image of the Raw Lightning Data
; window at a size of 640 by 480, saving it
; to a file named ‘raw.png’ in the
; Lightning/2000 folder.

#ProduceScreenCapture(
'Raw Lightning Data',
@L2KFolder + 'raw.png',
640, 480 )

; Add the new file to the upload queue.

#AddToUploadQueue( @L2KFolder + ‘raw.png’ )
endif

endif

endif

endif

endif

endif

endif

endif


; Tell Lightning/2000 to FTP the files that have
; been added to the upload queue.

#PerformFTP
endif

endif

endif

endif

Sending E-Mail or Text Messages

; This short example shows how to use the Custom
; Summary to send an automatically generated email.

; This form of the #SendEmail command assumes that
; you have filled out the pertinent information in
; the Email Options dialog box (choose “Options |
; Internet | Email…” from the main menu).

; In that dialog box, you must specify such things as
; the name of the mail server, and one or more

Advertising