Project

General

Profile

Savebuf » History » Version 4

Per Amundsen, 08/03/2015 11:53 PM

1 1 Per Amundsen
_Added in 1.9.4_
2
3
*/savebuf [-aglos] [n1-n2] <window | dialog id> <filename>*
4
5
Saves the specified number of lines from the end of the buffer of the specified window into the specified filename.
6
7
*Parameters*
8
9
n1-n2 - Save only lines n1 to n2 starting from the end of the buffer. (if no lines are specified, all lines are saved)
10
<window | dialog id> - Window or dialog/dialogid to save from.
11
<filename> - Filename to save to.
12
13
*Switches*
14
15
-a - Append the text to the end of the file.
16
-g - ???
17 4 Per Amundsen
-l - Use side-listbox
18 1 Per Amundsen
-o - Indicates that you have specified [dialog id] parameters instead of a window name in order to save text from a custom dialog control.
19
-s - Use status window.