====== alert ====== Method of [[:scripting:api:application:start|IApplication]] ===== Description ===== Displays a message in a simple dialog box with the OK button ===== Parameters ===== * [[scripting:api:data-type:BSTR|BSTR]] **strMessage** ===== Syntax ===== ==== JavaScript ==== Application.alert(strMessage); ==== Visual Basic Script ==== Application.alert strMessage ==== C++ ==== HRESULT hr = Application.alert(strMessage); ===== See Also ===== [[:scripting:api:application:start|IApplication]] ~~NOTOC~~