Macro Reference — Selection Object — Paste Method (Selection Object)

# Paste Method (Selection Object)

Inserts the Clipboard contents at the cursor.

##

### [JavaScript]

    document.selection.Paste( nFlags );

### [VBScript]

    document.selection.Paste nFlags

## Parameters

nFlags

Specifies a combination of the following values:

eeCopyUnicode | Pastes as Unicode (default).
eeCopyQuotes | Pastes in quotes.
eeCopyNL | Pastes with newline characters.
eeCopySystemDefault | Pastes as the system default encoding.

## Version

Supported on EmEditor Professional Version 4.00 or later.