2.3. Cut/Copy/Paste Text

About this task

Place material from your script on the Clipboard by either cutting it or copying it.

  • Cut a selection.
  • Copy a selection.
  • Paste text.

Cut a selection

Procedure

  1. Select the text to cut.
  2. Do one of the following.
    • Press Ctrl+X.
    • Click the Cut button on the Program Editor toolbar.
    • Click Edit>Cut on the Program Editor menu bar.

    Result: The selection is cut from the script and placed on the Clipboard.

    Copy a selection

  3. Select the text to copy.
  4. Do one of the following.
    • Press Ctrl+C.
    • Click the Copy button on the Program Editor toolbar.
    • Click Edit>Copy on the Program Editor menu bar.

    Result: The selection remains in the script, and a copy of it is placed on the Clipboard.

    Paste text

  5. Position the insertion point where the copied or cut text should be placed.
  6. Do one of the following.
    • Press Ctrl+V.
    • Click the Paste button on the Program Editor toolbar.
    • Click Edit>Paste on the Program Editor menu bar.

Results

The contents of the Clipboard are pasted at the insertion point location.

Note: If text is selected when you paste Clipboard text, the Clipboard text is inserted before the selected text.