You can use the consoleLib.displayMessage() system function to display a string in the message line of the active window. The function uses the messageLine property of the active window to determine where the string is displayed.
consoleLib.displayMessage(msg STRING in)