The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Saving Notes

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
kemeyer Posted - 07/21/2009 : 10:59:50 AM
Origin Ver.7.0558 and Service Release (Select Help-->About Origin):
Operating System: XP

Hi,

I have something strange occuring to me when I try to save my notes. If it is a note I've generated myself, the save -n noteName fileName works fine. However, when I try to save the notes generated when data is collected, is says and error occurs. Why does the command work for those notes and not the notes generated upon data collection?

Also, is there another way you can save the notes via code? (I am always going to rewrite it a file fileName because I just need to have the notes in txt format so I can search for a substring in them)

If temporary txt files would work differently, that could work for my needs because I only need to keep the file long enough to pull a string of comments from it.

Thanks,
Katie
3   L A T E S T    R E P L I E S    (Newest First)
kemeyer Posted - 07/23/2009 : 11:30:18 AM
Thanks, I will try that.
larry_lan Posted - 07/22/2009 : 04:31:49 AM
Hi Katie:

It seems a LabTalk bug. Since we will not update Origin 7 anymore, could you please write some Origin C functions to implement this? For example, this Origin C code will active the notes window named "Notes":

void set_note_show(string strName = "Notes")
{
	Note note(strName);
	note.SetShow();
}


Thanks
Larry
OriginLab Technical Services
kemeyer Posted - 07/21/2009 : 1:55:41 PM
Okay, so I found out that it didn't work because for whatever reason the save -n command doesn't work when the notepage is hidden. How can I make the notepage unhidden through code? I tried setting it temporarily as the active window with window -w but it gave be an error. Is there anyway I can make a note window unhidden? It seems to me that there isn't a lot of access to the note pages in general, or is there a special way to access these? (They never register as %H for example)

Katie

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000