Message Method

Action2 Example

 

Encapsulates the AutoMate™ action in the “General” group, “Message.” The method displays a standard message box with the desired text, and optionally waits for a response before continuing.

 

Declaration

function Message(varMessageText As Variant,

intModal As Integer) As Integer

 

Parameters

varMessageText

 The text to be displayed inside the message box.

 

intModal

 Whether the message box is displayed modally or not. If the message box is modal, AutoMate™ will wait until the user clicks the OK button before the function returns. Set intModal to “1” for a modal message box or “0” otherwise.

 

Description

The Message method will display a standard Windows message box with an OK button, and varMessageText as the text within the message box. Use Message to display a message to a user while the task is running.