Sample script: INCLUDE element
This script uses the REPEAT attribute to enable each page from a named PDF file to be INCLUDEd one PAGE at a time, followed by a "Compliments" slip on another PAGE.
and specify the file on the command-line or Run box instead:
EscapeE c:\CustomerRecords\BrochureGarden.PDF /USING MailBrochure.idf
where MailBrochure.idf is the name of this sample IDF file and BrochureGarden.PDF is the name of the file INCLUDEd in the document.
This frees you to customize the document "on the fly" – there is no need to open and edit the IDF file each time you need to output a new variant of the document.
See also Command-line sample script.