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
 how delete a notes window with LT command

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
drreaf Posted - 01/29/2010 : 12:53:10 PM
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
2   L A T E S T    R E P L I E S    (Newest First)
drreaf Posted - 01/30/2010 : 08:18:37 AM
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

cpyang Posted - 01/29/2010 : 10:59:49 PM
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

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