Last Update: 2/3/2015
There are several types of messages starting with Origin 8:
They are controlled by @NOW, @NOI, @NOE, @NOR and @NOD system variables respectively.
The target window is defined by:
enum { OUTMSG_NONE = 0, // Current command prompt output, can be Command Window or Script Window OUTMSG_CMD_OUT, // If no current command prompt output, will open Script Window OUTMSG_CMD_OUT_OPEN_SCRIPT_WIN, // Code Builder command output OUTMSG_CB_CMD_OUT, OUTMSG_CB_COMPILER_OUT, // Classic Script Window regardless of current command prompt OUTMSG_SCRIPT_WIN, OUTMSG_SCRIPT_WIN_FORCE_OPEN, // MessagesLog Window regardless of current command prompt, since v8.6 OUTMSG_MESSAGE_LOG, OUTMSG_MESSAGE_LOG_OPEN OUTMSG_MESSAGE_LOG_FORCE_OPEN, }
Therefore, if you want to change the target window of message types, set the corresponding system variable with the enumerated value.
For example, force error messages to Code Builder command output, type
@NOE = 3
Keywords:error message, script window, command window, @NOE