sendMessageToViewer function


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 text of the message with CYAN as the default color.

Parameters:

viewer_name - the name of the viewer to receive the message message - the message to send, or the text of the message 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*