|
See also Splitter |
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. Several options are available
from a menu. [Screen shot]
[To split the current document into
several new documents on disk, see Splitter.]
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,
short dashes, or full-length (custom) lines.
Menu options let you
- (1) copy or move the selected materials
to the new document;
- (2) if clips are copied, add redline attributes
to the original selections in the current document (so you know
what was copied; redline is easily removed);
- (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 or highlighting;
- (5) separate the clipped materials with either
one hard return, two hard returns, a short dashed line, or a
custom full-length line (also see Tips below); and
- (6) set a preferred on-screen position for
the small pop-up dialog box (the COPY/MOVE "clipper tool").
Notes and cautions
- 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.
- If you used the short dashed line (- - -
- -) option to separate all clipped text in the new document,
you can use Edit> Find and Replace to change these separators
to something else, such as a symbol (using Ctrl+w to insert a
symbol in the Replace field): Select the first dashed
line with mouse or keyboard, then bring up the Find and Replace
dialog (the selected dashed line should then be seen in the Find
field). Enter a replacement character or string of characters
or symbol, then click Replace All.
- 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. |