![]() |
Enhancement - Counting Number Of Lines In A D |
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 count the number of lines in a document. Answer: Although there is not a feature that will count lines, users can create a macro. This macro will count the number of lines, print the last page of the document, then delete the line numbering codes. Customer can do this by pressing Home, Ctrl-F10, and entering a description for the macro. Users will then be placed in the Macro Editor. The following table lists the codes as they should appear in the Macro Editor, the actual keystrokes to be used, and a description of what the codes do. Codes Keys To Enter Codes Description Of What The Codes Accomplish =========================================================================== {DISPLAY OFF} (This code is already in the macro; press Right Arrow to move past it.) {Home}{Home}{Home} Ctrl-V, Home, Ctrl-V {;} Go to beginning {Up} Home, Ctrl-V, of doc~ Home, Ctrl-V, Up Arrow {Format}lny Shift-F8, L, N, Y {;} Set Line Numbers on~ cnn1{Enter} C, N, N, 1, Ctrl-V, {;} Make sure line s1{Enter}rn{Enter} Enter, S, 1, Ctrl-V, # settings are ok~ Enter, R, N, Ctrl-V, Enter {Enter}{Enter} Ctrl-V, Enter, {;} Return to the Ctrl-V, Enter main document~ {Home}{Home}{Down} Ctrl-V, Home, Ctrl-V, {;} Go to, then {Print}p Home, Ctrl-V, print, last page~ Down Arrow, Shift-F7, P {Home}{Home} Ctrl-V, Home, Ctrl-V, {;} Delete Line {Home}{Up}{Delete} Home, Ctrl-V, Number setting~ Home, Ctrl-V, Up, Ctrl-V, Delete |
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. |