Editbox » History » Version 13
Per Amundsen, 06/19/2021 10:42 PM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | 13 | Per Amundsen | */editbox [-abNeNEfNinopqNsvckhN] [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 | 13 | Per Amundsen | -E - Use the current active Editor. *(AdiIRC only)* |
15 | 12 | Per Amundsen | -fN - If N = 1/[[$null]] sets focus to the [[Editbox Control|Editbox]] and makes sure the window is not minimized and active. |
16 | 10 | Per Amundsen | -i - Inserts the text at current cursor position. *(AdiIRC only)* |
17 | 4 | Per Amundsen | -n - "press" enter on the Editbox after the text is added. |
18 | 10 | Per Amundsen | -o - *TODO* |
19 | 4 | Per Amundsen | -p - Append a white-space after the text. |
20 | 10 | Per Amundsen | -qN - *TODO* |
21 | 8 | Per Amundsen | -s - Use the [[Editbox Control|Editbox]] from status/server window associated with current window. |
22 | -v - Prevents the [[Editbox Control|Editbox]] contents from being changed. |
||
23 | 10 | Per Amundsen | -c - Sets the [[Editbox Control|Editbox]] text color. *(AdiIRC only)* |
24 | -k - Sets the [[Editbox Control|Editbox]] background color. *(AdiIRC only)* |
||
25 | -hN - Sets the [[Editbox Control|Editbox]] history item to the Nth item. *(AdiIRC only)* |
||
26 | 1 | Per Amundsen | |
27 | *Parameters* |
||
28 | |||
29 | [window] - The window to edit. |
||
30 | 4 | Per Amundsen | <text|color> - The text to append/insert or the color to set. |
31 | 1 | Per Amundsen | |
32 | *Example* |
||
33 | |||
34 | <pre> |
||
35 | 4 | Per Amundsen | ; Inserts 'Hello World!' into the Editbox in current active window. |
36 | 1 | Per Amundsen | /editbox -a Hello World! |
37 | 13 | Per Amundsen | |
38 | ; Inserts 'Hello World!' into the current active Editor, must be triggered by a custom shortcut. |
||
39 | /editbox -E Hello World! |
||
40 | 1 | Per Amundsen | </pre> |