PCopy

Copies the currently selected text or graphics to the Clipboard, from which it can be pasted elsewhere.


Command constructor

PCopy();

Pasting outside of PageMaker for Macintosh. PageMaker for the Macintosh cuts and copies selected objects to its internal clipboard, not to the standard Macintosh Clipboard. To paste PageMaker objects into another application, you must force PageMaker to render its internal clipboard into the Macintosh Clipboard by using the PRenderClip command. For example, follow the PCopy command with the PRenderClip command, specifying true for the bDirection parameter:
PSelectAll();
PCopy();
PRenderClip(true);

Story editor: no copying from dialog boxes. Unlike Copy on the Edit menu, the PCopy command does not copy text from the Find, Change, or Spell dialog boxes. Instead, it copies the selected text in the current story, regardless of whether one of the dialog boxes is displayed.

Example. The following example selects all the objects on the page (or all the text in a story if a text block contains the text insertion point) and copies them to the Clipboard.

PSelectAll();
PCopy();


See also

The PSelect and PSelectAll commands

Adobe PageMaker 6.5 Help > Commands > Edit > Copy


Copyright © 1996, Adobe Systems Incorporated. All rights reserved.

Comments or suggestions? Contact Adobe Developer Support