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

# Copy Method (Selection Object)

Copies the selection to the Clipboard.

##

### [JavaScript]

    document.selection.Copy( nFlags );

### [VBScript]

    document.selection.Copy nFlags

## Parameters

nFlags

Specifies a combination of the following values:

eeCopyUnicode | Copies as Unicode (default).
eeCopyQuotes | Copies in quotes.

## Version

Supported on EmEditor Professional Version 4.00 or later.