Macro Can Place Document Name In File

DocumentID: 650028
Revision Date: 29-Feb-96 8:28:56 PM

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

Problem

Solutions: A user can now have the document filename inserted as text into either the document itself or a header or footer with a macro. To do this, the user should place the following codes in the macro at the point he wants the document name to be written: {System}path~{System}name~ Many users would like to have the name of the file in the document so that it will appear in the printout of the file. The following codes, if entered in a macro, will insert the document name into a header: {Format}2h1p{SYSTEM}12~{Exit}{Exit} or {Format}2h1p{SYSTEM}name~{Exit}{Exit} (See Appendix K in the Reference Manual for further instruction.)

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.