Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
kemeyer
Posted - 07/17/2009 : 08:24:06 AM Origin Ver. 7.0558 and Service Release (Select Help-->About Origin): Operating System: Windows XP
Hello,
Is it possible to read information from a note? I am able to write data from my worksheet to a note using the redirection, but I haven't seen anything allowing you to read strings from a note. What happens is when data is taken, a note is generated in which is listed some information I would like to include at the top of a .txt file I will export. I was hoping to get that data and put it in a new note with the data below it, and then save the note as a .txt file. However, I am stuck on how to access the strings I need from the other note. Can you help me? I thought perhaps if the strings can't be read from a note, perhaps a temporary .txt file could be made.
Thanks, Katie
2 L A T E S T R E P L I E S (Newest First)
kemeyer
Posted - 07/17/2009 : 09:44:53 AM Thank you so much! For whatever reason, I didn't see that in the help files I was searching through.
When I executed that command, it printed it to the script window. When I redirected it to a note page Notes, I got an error. Can I save it to a string somehow or put it right into a different note page?
Also, is there any way that you can search to read just a section of a note? The note I have has a lot of excess information that is generated, and I only want the comments portion. In each note it is the same, and the string reads:
comment="The comment is in here"
It is the first and only occurance of the word comment within the note so might I be able to search for it and then read the text between the quotation marks?