Project

General

Profile

Editbox » History » Revision 2

Revision 1 (Per Amundsen, 02/10/2014 01:01 PM) → Revision 2/16 (Per Amundsen, 03/20/2015 01:15 PM)

_Added in 1.9.0_ 

 */editbox [-abNeNfNnopqNsv] [window] <text>* 

 Fills the editbox of the current or specified window with the specified text. 

 *Switches* 

 -a - Use the editbox from the current active window. 
 -bN - Set selection start to position N. 
 -eN - Set selection end to position N. 
 -fN - If N = 1/[$null] sets focus to the editbox and makes sure the window is not minimized and active. TODO 
 -n - "press" enter on the editbox after the text is added. 
 -o - TODO 
 -p - Append a whitespace after the text. 
 -qN - TODO 
 -s - Use the editbox from status/server window associated with current window. 
 -v - Orevents the editbox contents from being changed. TODO 

 *Parameters* 

 [window] - The window to edit. 
 <text> - The text to append/insert. 

 *Example* 

 <pre> 
 ;Inserts 'Hello World!' into the editbox in current active window. 
 /editbox -a Hello World! 
 </pre>