Pitney Bowes DocuMatch Integrated Mail System Application Notes page 48

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

Advertisement

DocuMatch Application Notes
Automating Operations Under Microsoft Word 6, continued
42
3. In the WordBasic program, use the SendKeys and
FilePrintSetup Options to send the keystrokes to the
driver's setup screen. You will find it most convenient to
save the setup to a JOB file in advance and then use
the macro to recall the setup.
The following program segment calls up the setup
screen and specifies the keystrokes to recall the setup
saved in the file
C:\DOCMATCH\MAILJOBS\SAMPLE.JOB.
The following WordBasic code calls up the setup screen
and sends it the appropriate keystrokes:
SendKeys "%m%jc:\docmatch\mailjobs\
sample.job {enter}{enter}",- 1
FilePrintSetup .Options
The above sequence automates the following operations:
1. Calls up the driver setup screen.
2. Types alt-m : selects Generate Mai.l
3. Types alt-j: brings up Select Job dialog.
4. Types c:\docmatch\mailjobs\sample.job: specifies job
name.
5. Presses enter: accepts job name.
6. Presses enter: closes setup screen.
The WordBasic code on the next page performs a merge of
the first nrecs records and closes the document file. This
procedure assumes that the current document is already
set up as a mail merge document with an attached data
file.
DocuMatch
Integrated Mail System
TM

Advertisement

Table of Contents
loading

This manual is also suitable for:

Documatch

Table of Contents