Message
Message>message_text
Message_text - Message to display
Displays a message box containing the text specified in message_text. In order that execution of the script can continue, these message boxes are not modal. This means they can be used to display information even if the script is not being run interactively. For modal message boxes, use MessageModal.
To make a message box stay on top, set the variable MSG_STAYONTOP to 1. Likewise, setting MSG_CENTERED to 1 will ensure that the message box is always shown centrally on the screen.
You can set/get the height and width of the message box using the variables MSG_HEIGHT and MSG_WIDTH. Set the position of the message box using the variables MSG_XPOS and MSG_YPOS.
Abbreviation : MSG
See also: MessageModal
Message Example
Message>Hello World!
or with variables ..
Let>mymsg=Hello World! Message>mymsg
To force a new line in a message box, use the CRLF system variable :
Message>Hello World %CRLF% %CRLF%End Message.
This would display :
Hello World
End Message.
To make the message box stay on top (above all other windows) :
Let>MSG_STAYONTOP=1
Message>Hello World
MessageModal
MessageModal>message_text
Message_text - Message to display
Displays a message box containing the text specified in message_text. With this command the Message box is modal. This means that the script will not continue until OK is pressed. For non modal message boxes use Message.
To make a message box stay on top, set the variable MSG_STAYONTOP to 1. Likewise, setting MSG_CENTERED to 1 will ensure that the message box is always shown centrally on the screen.
You can set/get the height and width of the message box using the variables MSG_HEIGHT and MSG_WIDTH. Set the position of the message box using the variables MSG_XPOS and MSG_YPOS.
Abbreviation : MDL
See also: Message
Example
MessageModal>Hello World!
or with variables ..
Let>mymsg=Hello World!
MessageModal>mymsg
To force a new line in a message box, use the CRLF system variable :
MessageModal>Hello World %CRLF% %CRLF%End Message.
This would display :
Hello World
End Message.
To make the message box stay on top (above all other windows) :
Let>MSG_STAYONTOP=1
MessageModal>Hello World
Comments
0 comments
Please sign in to leave a comment.