sendMessageToViewer


sendMessageToViewer (viewer_name, message)

Sends the message to the named viewer. If the parameter is a message (from createMessage) it is used as is. Otherwise, the parameter is converted to a string and used as the message text, with CYAN as the default color.

Related topic

Parameter:

viewer_name

The name of the viewer to receive the message

message

The message to send, or the message text to send

Returns:

This function does not return a value.

Example:

helloMsg = createMessage("Hello, hello")

helloMsg.COLOR = YELLOW

sendMessageToViewer("TAPECONS", helloMsg)

 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*