Automating Operations Under Microsoft Word 6 - Pitney Bowes DocuMatch Integrated Mail System Application Notes

Integrated mail system
Hide thumbs Also See for DocuMatch Integrated Mail System:
Table of Contents

Advertisement

Automating Operations Under Microsoft Word 6

DocuMatch
Integrated Mail System
TM
NOTE: Microsoft overhauled the macro language in Word
97. While the details in this application note do not apply
directly to Word 97, the broad principles do.
Microsoft Word includes a powerful macro language,
WordBasic. Microsoft provides a certain amount of online
documentation for WordBasic, but some users may have
chosen not to install it. In addition, Microsoft publishes the
Word Developer's Kit, which includes full printed documen-
tation for WordBasic.
Once you are familiar with the WordBasic macro language,
you can use it to automate most of the system's mail
generation functions. We've provided several examples
below.
The following string selects the DocuMatch printer (assum-
ing it is connected to LPT1):
FilePrintSetup .Printer = "Pitney Bowes Docu-
Match on LPT1:"
To program WordBasic to change the DocuMatch setup:
1. Bring up the Mail Setup screen as described in the
DocuMatch Software Users Guide.
2. Write down the sequence of keystrokes required to
make the changes. This is usually a series of Tabs,
Enters and Alt-key combinations interspersed with the
text you want to enter.
NOTE: There is no way to simulate mouse operations in
a WordBasic program, but you can select most driver
operations with Alt-key combinations. The keys to use
are underlined on the Driver's setup screen. For ex-
ample, the key combination to select Generate Mail
mode is Alt-m. In WordBasic, the Alt key is indicated by
the % character in a string.
DocuMatch Application Notes
41

Advertisement

Table of Contents
loading

This manual is also suitable for:

Documatch

Table of Contents