Project

General

Profile

Loadbuf » History » Revision 4

Revision 3 (Per Amundsen, 08/11/2014 07:28 PM) → Revision 4/10 (Per Amundsen, 08/18/2014 10:03 AM)

_Added in 1.9.0_ 

 */loadbuf [lines] [-acNegilmnoprst<topic>] <window | dialog id> <filename>* 

 Loads the specified number of lines from the end of the file of filename into the specified window. 

 -a - Loads the text into the active window. 
 -cN - Specifies the default color (N) for the line being read. 
 -e - Evaluates variables and identifiers in the line being read. 
 -g - TODO 
 -i - TODO 
 -l - Reads the lines into side-listbox in a custom window. 
 -m - Indicates that the logging text is already timestamped. 
 -n - Logs the loaded text to a log file, if logging is enabled for that window 
 -o - Indicates that you have specified the [dialog id] parameters instead of a window name in order to load lines into a custom dialog control. 
 -p - TODO 
 -r - Clears the contents of the output window before adding read lines. 
 -s - Reads the lines into the associated status window. 
 -t<topic> - Loads the text under the [topic] section in an INI or plain text file. TODO 

 *Parameters* 

 [lines] - If specified, the number of lines to add from the end the file, otherwise the whole content of the file is added. 
 <window | dialog id> - Window or dialog id to load into. 
 <filename> - File to load. 

 *Example* 

 <pre> 
 ;Open a custom window. 
 /window @test 

 ;Read 10 lines from the config file into the custom window 
 //loadbuf 10 -r $qt($adiircini) @test 
 </pre>