Project

General

Profile

Editbox » History » Version 11

Per Amundsen, 08/18/2020 09:16 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3 7 Per Amundsen
*/editbox [-abNeNfNinopqNsvckhN] [window] <text|color>*
4 1 Per Amundsen
5 8 Per Amundsen
Fills the [[Editbox Control|Editbox]] of the current or specified window with the specified text.
6 1 Per Amundsen
7 11 Per Amundsen
_See also [[$editboxhistory]], [[$editbox]]._
8
9 1 Per Amundsen
*Switches*
10
11 8 Per Amundsen
-a - Use the [[Editbox Control|Editbox]] from the current active window.
12 1 Per Amundsen
-bN - Set selection start to position N.
13
-eN - Set selection end to position N.
14 8 Per Amundsen
-fN - If N = 1/[$null] sets focus to the [[Editbox Control|Editbox]] and makes sure the window is not minimized and active.
15 10 Per Amundsen
-i - Inserts the text at current cursor position. *(AdiIRC only)*
16 4 Per Amundsen
-n - "press" enter on the Editbox after the text is added.
17 10 Per Amundsen
-o - *TODO*
18 4 Per Amundsen
-p - Append a white-space after the text.
19 10 Per Amundsen
-qN - *TODO*
20 8 Per Amundsen
-s - Use the [[Editbox Control|Editbox]] from status/server window associated with current window.
21
-v - Prevents the [[Editbox Control|Editbox]] contents from being changed.
22 10 Per Amundsen
-c - Sets the [[Editbox Control|Editbox]] text color. *(AdiIRC only)*
23
-k - Sets the [[Editbox Control|Editbox]] background color. *(AdiIRC only)*
24
-hN - Sets the [[Editbox Control|Editbox]] history item to the Nth item. *(AdiIRC only)*
25 1 Per Amundsen
26
*Parameters*
27
28
[window] - The window to edit.
29 4 Per Amundsen
<text|color> - The text to append/insert or the color to set.
30 1 Per Amundsen
31
*Example*
32
33
<pre>
34 4 Per Amundsen
; Inserts 'Hello World!' into the Editbox in current active window.
35 1 Per Amundsen
/editbox -a Hello World!
36
</pre>