Top Navigational Bar

Enhancement - Filename Stamp On Last Page Of
DocumentID: 654597
Revision Date: 29-Feb-96 8:29:32 PM

The information in this document applies to:
WordPerfect® 5.1 for DOS

Problem

Solutions: Enhancement:
A user requested that WordPerfect 5.1 include the capability to append the filename of a document to the last page of the document.

Answer:
Users can do this with the {SYSTEM} macro command which allows access to information such as the page number, document name, and cursor position. The command {SYSTEM}path~ allows users to access the path of the current document. The command {SYSTEM}name~ allows users to access the filename of the current document. To print the path and filename on the last page of the document, users can create the following macro:

Commands Keystrokes
=============================================================
Macro Define Home, Ctrl-F10, Alt-F, filename
at end of document, Enter

{DISPLAY OFF}{HOME}{HOME} Right Arrow, Ctrl-F10, Home,
{HOME}{DOWN}{Enter} Home, Home, Down, Enter, Ctrl-F10

{SYSTEM}path~{SYSTEM}name~ Ctrl-PgUp, System, Enter, path~,
Ctrl-PgUp, System, Enter, name~

When this macro is invoked, it will automatically place the cursor at the very last line of the document, insert an additional line, and insert the path and filename of the document.

Answer:

Details:


Product specifications, packaging, technical support and information (*Specifications*) refer to theUnited States retail English version only. Specifications for other versions may vary. All Specifications, claims, features, representations, and/or comparisons provided are correct to the best of our knowledge of the date of publication, but are subject to change without notice.OUR MAXIMUM AGGREGATE LIABILITY TO YOU AND THAT OF OUR DEALERS AND SUPPLIERS IS LIMITED. IT SHALL NOTEXCEED THE AMOUNT YOU PAID TO ACCESS THE INFORMATION. SEE LEGAL DISCLAIMER.