scripting:api:application:alert

alert

Method of IApplication

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

Application.alert(strMessage);
Application.alert strMessage
HRESULT hr = Application.alert(strMessage);