Macro Reference — Window Object — alert Method (Window Object)

# alert Method (Window Object)

Displays a message in a simple dialog box with the OK button.

##

### [JavaScript]

    alert( strMessage, strMessage2 );

### [VBScript]

    alert strMessage, strMessage2

## Parameters

strMessage

Specifies a message to be displayed.

strMessage2

Optional. Specifies an additional message to be displayed below the first message.

## Version

Supported on EmEditor Professional Version 4.00 or later.