Hi Andreas,
There seems to be no LabTalk method to read information from Notes window in Origin 7.5. However, you may consider saving the information in the Notes window as a file and then reading the information from the file.
LabTalk doesn't have very good method to handle XML files. Probably, you can consider using Origin C. The Tree class supports loading XML files with constructor and the load method.
Suppose you have a simple XML file saved as f:\\temp\\aa.xml. The content is as follows
<xml>
<exp>aabb</exp>
<time>13:48</time>
</xml>
You can use the following Origin C function to read the time information in it:
void test7393()
{
string str = "f:\\temp\\aa.xml";
Tree trConstructor(str);
string strTest = trConstructor.Time.strVal;
}
LabTalk scripts can call Origin C function. I think we can write an Origin C function to read the XML file and then call it in the script.
Deanna
OriginLab Technical Services