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
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 how delete a notes window with LT command
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

drreaf

Germany
45 Posts

Posted - 01/29/2010 :  12:53:10 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Ver. and Service Release : O7.5 and O8.1
Operating System: XP

For purposes of documentation, I intend to import the main script file which generates the contents of an Origin project file into a notes window by

open n filespec MainScript.

Since we often generate such a project iteratively, upon a second run.file(filespec) the script becomes duplicated by being attached to the previous contents of MainScript. In order to avoid this, I want to delete the notes window MainScript before execution of the open n command.

While worksheets can be deleted with a LT command, I have found no way to do this with a notes window.

Any suggestions?

Regards, Rainer

Dr. Rainer Facius, DLR German Aerospace Center

cpyang

USA
1406 Posts

Posted - 01/29/2010 :  10:59:49 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
win -cn note1;

assuming your notes window has a name of Note1.

If your notes window has spaces in the name, then they need to be quoted like

win -cn "my note";

CP
Go to Top of Page

drreaf

Germany
45 Posts

Posted - 01/30/2010 :  08:18:37 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Chao,

In my 7.5-Help for "window -cn winName" it says:

Close the winName notes window without prompting.

This of cause I read as "close" and not "delete".

Thanks for the clarification, Rainer

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000