The following OriginC function should do the trick.
It seems to work in Origin-8(SR1) and, in principle, it should alsi work in Origin-7.5. However, thee seems to be problems with 7.5.
bool SendOutputToNote(string strNoteWinName, bool ToNotes)
{
Note nWnd(strNoteWinName);
if(nWnd)
{
if(ToNotes==true) // Turn on redirection to the Notes Window named "strNoteWinName"
{
string strTemp;
strTemp.Format("%s",strNoteWinName);
string strLTCommand="type.notes$="+strTemp;
LT_execute(strLTCommand);
LT_execute("type.redirection=2");
}
else // Turn off redirection to the Notes Window named "strNoteWinName"
{
LT_execute("type.redirection=1");
}
return (true);
}
return false;
}