|
|
Purpose
This macro lets you to select material (with
your mouse or keyboard) in the current document (or any open
document) and automatically clip (i.e., copy or move) it to a
separate temporary document with a mouse click, then return you
back to the original document.
Features
- A small pop-up dialog remains on screen until
dismissed, to allow multiple clips. [Screen
shot]
- You can have up to eight (8) open documents
on screen from which to clip material; the macro will use the
separate document to hold all your clips in one place.
- Clipped material is appended to previous
selections (i.e., in sequential order), separated with hard returns
or dashes.
Menu options let you
- (1) copy or move the selected materials
to the new document;
- (2) add redline attributes to the original selections in the current
document;
- (3) remove all existing redline attributes
from the current document (only);
- (4) clip material as unformatted ("plain")
text or clip material with all format attributes (bold, italic,
etc.) and any graphics;
- (5) separate the clipped materials with either
one hard return, two hard returns, or a short dashed line; and
- (6) set a preferred on-screen position for
the small pop-up dialog box (the COPY/MOVE "clipper tool").
Notes
The macro will work only in body text,
comments, headers/footers, and footnotes/endnotes. If you try
to select text inside a text box, for example, the macro will
display an error message and then quit.
Tips
- You can also play the macro at a later time
to remove all redline attributes from a document that you might
have added with option #2 above or that you might have added
by the usual methods (e.g., Format, Font, Redline): Simply enable
the checkbox, "Remove existing redline codes," play
the macro, then exit from the macro. This merely does the same
thing as using Find and Replace to remove all [Redln] codes in
the document.
- Menu default choices can be set at the top
of the macro code in the redlined User Modification Area of the
macro code.
- WordPerfect has a built-in feature, Edit>Append,
that can append sequential selections of copied text to previous
selections on the Windows clipboard. Simply copy the first selection
with the usual Edit>Copy (or <Ctrl+C>) and then make
subsequent copies with Edit>Append. When you paste the material
in another location or another document, the clips will be pasted
together as one.
- Unlike Clipper, however, the Edit>Append
feature doesn't let you separate the clips, or move them (cut-and-paste)
out of one document and into another (you have to delete the
original selections).
- Note that the Edit>Append feature can
be assigned to a keystroke combination such as <Alt+C>.
See here.
Most of this macro is based on code used in
the author's UNIQUE.WCM macro, which
creates a separate file of all unique words in a document for
eventual use in indexing that document. |