SAVEWINDOW
Saves the text from any text window to a file.
Syntax:
SAVEWINDOW winnum, filename
Discussion:
The winnum value may be either an integer or an expression that evaluates to an integer. The integer winnum corresponds to the text window number that should be saved to a file. OpticStudio numbers windows sequentially as they are opened, starting with 1. Any closed windows are deleted from the window list, without renumbering the windows which remain. Any windows opened after another window has been closed will use the lowest window number available.
Example:
SAVEWINDOW 1, "C:\TEMP\TEXTFILE.TXT" SAVEWINDOW 3, A$
Next: