| Barry MacDonnell's
Toolbox for WordPerfect
Macros, tips, and
templates for Corel® WordPerfect® for Windows®
| Page updated Jan 20, 2014
|TXT2CMT - Text to comment|
This is a macro that converts a block of selected text to a WordPerfect Comment at that location.
Since Comments don't print, this is a great way to "park" draft text out of the way until you want to use it again (see the tip below), or to annotate a document by typing a note, selecting it, and immediately converting it to a Comment.
Tips and related macros
You can edit the macro and add extra formatting capabilities by adding new macro commands following the "CommentCreate()" command.
For example, you can make the macro create Comments in blue italics, with a font size of 8 points:
From a post on WordPerfect Universe:]
Changing the background color that is used for the WP Comment icon is possible at least back to WP8 (possibly earlier). It then becomes your default color for new Comments, and is retained for future sessions -- unless you change it back.
A small macro can set the default color value, once you determine the RGB (Red,Green,Blue) values for the icon's background by clicking the User color button in Tools, Settings, Environment, General (tab), User color and passing your mouse (slowly!) over the color palette.
For example, to restore the Comment icon's background color to Light Tan:
// Macro begins
[To copy this macro into your WordPerfect program so that you can play it, see here.]
Obviously, you would insert your own name and initials in the above macro (but retain the double quote marks), as well as your preferred RGB color values.
You can use up to three characters in the User initials field, and up to 79 characters in the Name field. [Ed. - For some reason, in WP8 you can enter six characters, but they are trimmed back to three characters when you exit the Initials field.]
TO assign this macro to a menu, keystroke, or toolbar, see here.
You could also create several saved copies of this macro, each with different settings (one would be to restore your preferred default color), and add them to a toolbar. You could even set up different "initials" for the Comments, such as "#1" or "REM". These will show when (and if) the colored icons are visible (see below).
A separate custom toolbar for the purpose might be appropriate: See here.
[For added convenience, all versions of the macro -- except the one that restores the default color -- could also contain a command to start a new Comment. Just add the command, CommentCreate(), at the end of the macro code above. The macro would then set the preferred color and immediately open a new Comment window so that you can start entering your comments.]
Finally, you won't see these colored icons in Page View unless the icons are on separate lines (otherwise you will see stacked "balloon" icons). Switch to Draft View to see the colors and the Comment's text, even if several are on the same document line. (In WP8/WP9, the colors will not show in Draft View, but they show in Page View and Two Page View.) Note that you won't see them if the User initials field is empty.