Project

General

Profile

Editbox » History » Version 10

Per Amundsen, 12/14/2019 09:41 AM

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
*Switches*
8
9 8 Per Amundsen
-a - Use the [[Editbox Control|Editbox]] from the current active window.
10 1 Per Amundsen
-bN - Set selection start to position N.
11
-eN - Set selection end to position N.
12 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.
13 10 Per Amundsen
-i - Inserts the text at current cursor position. *(AdiIRC only)*
14 4 Per Amundsen
-n - "press" enter on the Editbox after the text is added.
15 10 Per Amundsen
-o - *TODO*
16 4 Per Amundsen
-p - Append a white-space after the text.
17 10 Per Amundsen
-qN - *TODO*
18 8 Per Amundsen
-s - Use the [[Editbox Control|Editbox]] from status/server window associated with current window.
19
-v - Prevents the [[Editbox Control|Editbox]] contents from being changed.
20 10 Per Amundsen
-c - Sets the [[Editbox Control|Editbox]] text color. *(AdiIRC only)*
21
-k - Sets the [[Editbox Control|Editbox]] background color. *(AdiIRC only)*
22
-hN - Sets the [[Editbox Control|Editbox]] history item to the Nth item. *(AdiIRC only)*
23 1 Per Amundsen
24
*Parameters*
25
26
[window] - The window to edit.
27 4 Per Amundsen
<text|color> - The text to append/insert or the color to set.
28 1 Per Amundsen
29
*Example*
30
31
<pre>
32 4 Per Amundsen
; Inserts 'Hello World!' into the Editbox in current active window.
33 1 Per Amundsen
/editbox -a Hello World!
34
</pre>