Project

General

Profile

Editbox » History » Revision 13

Revision 12 (Per Amundsen, 06/19/2021 08:32 PM) → Revision 13/16 (Per Amundsen, 06/19/2021 10:42 PM)

_Added in 1.9.0_ 

 */editbox [-abNeNEfNinopqNsvckhN] [-abNeNfNinopqNsvckhN] [window] <text|color>* 

 Fills the [[Editbox Control|Editbox]] of the current or specified window with the specified text. 

 _See also [[$editboxhistory]], [[$editbox]]._ 

 *Switches* 

 -a - Use the [[Editbox Control|Editbox]] from the current active window. 
 -bN - Set selection start to position N. 
 -eN - Set selection end to position N. 
 -E - Use the current active Editor. *(AdiIRC only)* 
 -fN - If N = 1/[[$null]] sets focus to the [[Editbox Control|Editbox]] and makes sure the window is not minimized and active. 
 -i - Inserts the text at current cursor position. *(AdiIRC only)* 
 -n - "press" enter on the Editbox after the text is added. 
 -o - *TODO* 
 -p - Append a white-space after the text. 
 -qN - *TODO* 
 -s - Use the [[Editbox Control|Editbox]] from status/server window associated with current window. 
 -v - Prevents the [[Editbox Control|Editbox]] contents from being changed. 
 -c - Sets the [[Editbox Control|Editbox]] text color. *(AdiIRC only)* 
 -k - Sets the [[Editbox Control|Editbox]] background color. *(AdiIRC only)* 
 -hN - Sets the [[Editbox Control|Editbox]] history item to the Nth item. *(AdiIRC only)* 

 *Parameters* 

 [window] - The window to edit. 
 <text|color> - The text to append/insert or the color to set. 

 *Example* 

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

 ; Inserts 'Hello World!' into the current active Editor, must be triggered by a custom shortcut. 
 /editbox -E Hello World! 
 </pre>