Summary - Lexmark Document Distributor User Manual

Lexmark document distributor software: user guide
Hide thumbs Also See for Document Distributor:
Table of Contents

Advertisement

User data example script:
string LoanLength
if (UserData.term > 15)
then
LoanLength = "Long Term Application - " + UserData.term.AsString()
else
LoanLength = "Short Term Application - "+ UserData.term.AsString()
endif
switch (UserData.LoanType)
case "Mortgage"
EmailSMTP.Subject = "Mortgage Application"
EmailSMTP.To="bobg@greatnorthbank.com"
case "New Car"
EmailSMTP.Subject = "New Car Loan"
EmailSMTP.To="benh@greatnorthbank.com"
case "Used Car"
EmailSMTP.Subject = "Used Car Loan"
EmailSMTP.To="alexK@greatnorthbank.com"
case "Home Equity"
EmailSMTP.Subject = "Home Equity"
EmailSMTP.To="busterb@greatnorthbank.com"
endswitch
with EmailSMTP
.Server="mail.server.com"
.From=UserData.EmailAdd
.Message=LoanLength
.CharacterSet=LDD_SMTPCHARSET_US
.Attachments=original.document
.Go()
endwith
In this script, the string value UserData.LoanType is used to customize the subject and recipient of
the e-mail. The UserData.term property is an integer value. The string value of
UserData.EmailAdd is used to specify who sent the e-mail.

Summary

You have now seen how to prompt the end user for information when they submit the document. You
have also seen how to use that data in a script.You are now ready to begin writing scripts to autmate
your own business processes. For more detailed script examples, see the "Script Examples"
document. For more detailed information on objects, properties, and methods, see the "Script
Reference". Both of these documents are located at Start
Distributor Client.
Programs
65
Lexmark
Document

Advertisement

Table of Contents
loading

Table of Contents