MergeUpload.WAS
Procomm Plus 4.x for Windows 95/98/NT


Should I use this script?
-------------------------
This script will combine two files, call the host computer, log on
and upload the new file to a host system.  The script will also
send an email message to 3 addresses to verify the file transfer.
(This part of the script can be removed). A log file with success
or failure will then be sent to the default Windows printer. The
script will then exit Procomm Plus.      


Customization
----------------------------
Using the Procomm Plus ASPECT editor:

*To set the path for the first file edit the MACRO definition
(fSOURCE) on line 30.
*To set the path for the second file edit the MACRO definition
(fCARDFILE) on line 31.
*To set the path for the new file edit the MACRO definition
(fNEWFILE) on line 32.
*To set the path for the log file edit the MACRO definition
(fLOGFILE) on line 33.

*To set the comment line for the log file edit the MACRO
definition (szComment) on line 35.
*To set the host phone number edit the MACRO definition
(szNUMBER) on line 36.
*To set the logon name edit the MACRO definition (szLOGIN)
on line 37.
*To set the password edit the MACRO definition (szPASSWORD)
on line 38. 
*To set the Subject line in the email message edit the MACRO
definition (szSubject) on line 40.
*To set the email addresses to use edit the MACRO definitions
(szMAIL1-3) on lines 41-43.

*If you do not wish to send an email message, remove or comment
out the section of code so commented in the script -- lines
87-102.  Then remove or comment out the EMAILFILE procedure --
lines 237-268.


How do I install MergeUpload.WAX?
----------------------------------------------
Copy MergeUpload.WAS to your ASPECT directory and compile it by
selecting Tools | Scripts | Compile/Edit from the Procomm Plus
Menu bar.


How do I run MergeUpload.WAX?
-----------------------------------------------
From the Action Bar:

1)  Click on the Script File drop down menu.
2)  Select MergeUpload.

From the Menu Bar:

1)  Click on Tools | Scripts.
2)  Click on Run.
3)  Select MergeUpload.WAX.
4)  Click on Open.

NOTE:  If MergeUpload.WAX does not appear in the Script File
       drop down list, you might have a different default ASPECT
       path.  To change the path, go to Options | Data Options |
       Paths and change the path to
       PROGRAM FILES\PROCOMM PLUS\ASPECT directory.
