Comment Converter.wcm can
- convert all
WordPerfect Comments (created with Insert, Comment) in the body text area of the current document to
highlighted text, normal text, hidden text, footnotes, endnotes; or
- copy all
Comments in the document to a separate (temporary) document, to provide a convenient
list of Comments in the original document.
You can then print the document and then
- undo the change with Edit, Undo; or
- close the document without saving
- save it in the usual manner.
Other menu options can delete all
Comments, highlight formatting, or highlighted text.
If there are no comments found in the document
the macro will display a message and then exit.
shot of menu]
You can set menu and other defaults in the
macro's User Modification Area (open the macro as you would any
WordPerfect document, make changes as indicated, and save the macro
with the Save & Compile button on the macro toolbar).
which converts selected text to Comments, which might be useful if you
want to create additional Comments before converting or listing them.
- Option 1 on the menu causes the macro to
copy the (often large) contents of each comment to a separate document.
There have been reports (in past years, but none recently!) that using
so-called "clipboard extenders" -- small Windows programs that store
recently used material cut or copied to the Windows clipboard -- can
cause problems, especially with documents that have many comments in
- For example, the computer may slow or
freeze when this macro is played with these clipboard extenders in
memory. If this happens, simply disable or temporarily remove the
clipboard extender when you need to play the macro.
- Also, if your physical memory is
full and the Windows swap file is being used constantly, the macro will
slow down considerably and may even appear to freeze. (Wait to see if
it will resume play.) Rebooting and clearing RAM of other tasks can
- With some
earlier versions of WordPerfect (e.g., WPX4), the macro will not
convert more than 130 comments on a Windows 7 system. This seems to be
a limit (bug?) in the program, since WPX5 (126.96.36.1998) and WPX6
(188.8.131.528) will work to convert many more comments (e.g., 1500 in one
series of tests). But then, only WPX5 (fully patched) and WPX6 or later
are certified by Corel to work with Windows 7.
- Here's a small macro that will open a new
blank document and create as many "test" comments -- one per line -- as
specified in the vTotalComments command (here, 50). You can use it to test the operation of Comment Converter.
[To copy this code into your WordPerfect program to create a working macro, see here.]
// Macro begins
Prompt("";"Creating comment "+vCount+" of "+vTotalComments)
Type("This is comment number "+vCount)
// Macro ends
of a limitation in a macro command (Close), any comments that you may
have created inside "substructures" such as text boxes, headers,
footers, footnotes, endnotes, etc., will NOT be processed (i.e., copied
or converted). In any case, certain operations would not be possible
anyway, such as converting a comment already inside a footnote to a new
footnote! Thus, the macro processes Comments in the body text area only.