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
|
|
|