Home | Tips | Library | Other Authors | Other WP Sites | Writer's Links | Contact | Site Map | Donate |
![]() Toolbox for WordPerfect |
||
Macros, tips, and
templates for Corel® WordPerfect® for Windows® |
Page updated Jun 25, 2013 | |
EDGETEXT - Place text, date, or filename outside the page margins | ||
Macros with a similar purpose: DocStamp - A macro that will toggle the display of a user-specified document text stamp—such as "DRAFT" or "COPY"—on and off. FilStamp - Places the filename at the bottom of FooterA or FooterB, or at the top of HeaderA or HeaderB, starting on page 1. TextBord - Creates a page border composed of user-selected words. See also: QuickWords for another way to insert items in a document. |
Purpose The EdgeText.wcm macro can place a line (or lines) of text -- and (optionally) the date, the time, and/or the filename -- at one of eight places around the edges of the page, outside the page margins, on all pages or just specific pages. [Screen shot] This macro grew out of the question, "How do you automatically place text (or the date, or the filename) outside page margins?" Instructions Download the ZIP file (screen left), and extract the macro from it into your default or supplemental macros folder. (See here for specific instructions.) Then play the macro. A menu of options will appear (screen shot). For Placement, be sure to choose the watermark (A or B) that is not otherwise used in the document; otherwise, it might interfere with that existing watermark. (You can ignore this choice if you just want the text box to be placed on the current page, since no watermark will be used in that case.) Options Several formatting options are available. You can adjust or insert the following.
Always print a test page to ensure the text box doesn't extend into your printer's non-printing area. (It should not, but If it does you can change page margins to a narrower setting and/or choose a greater distance "offset" from the edge of the page for the text box.) You might also want to verify the overall "look" of the box. You can do this easily with File, Print Preview. Operation, box editing, and box removal Depending on your menu selections, the macro will either use a text box inside a watermark (to make it appear on all pages) or it will place the text box on an individual page ("On current page only"). You can edit the watermark-type text box by editing the watermark (double-click on its code in Reveal Codes or use Insert, Watermark, A or B, Edit), then by clicking on the text in the watermark to open the text editing screen. When you have finished, close the text editing screen and then close the watermark editing screen. The watermark-type text box can be deleted by simply deleting the [Watermark] code in Reveal Codes; the page-type text box can be deleted by locating the [Box] code in Reveal Codes and deleting it (you can also just drag it from Reveal Codes). Notes
Tips
Default menu choices can be changed through the redlined User Modification Area at the top of the macro's code. Once you have put the macro in your macros folder (see instructions), click on Tools, Macro, Edit and open it for editing. Make the desired changes following the instructions in the modification area, and then click Save & Compile on the macro toolbar. Recent history v1.05 (6/24/2013) - Added ability to use multiple lines in "Optional text" field in the menu dialog. Added option to set line spacing for any optional text used in the text box. v1.04 (03/02/2012) -
Added option to insert the current time (as a code or a string). Forced
dates and times to the formats specified in the User Modification Area.
Allow date/time to be placed on the next line. Minor format
changes. v1.04.01 - Added routine to open Reveal Codes during
macro play. |
|