Editbox » History » Version 14
Per Amundsen, 02/18/2022 02:40 AM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | 14 | Per Amundsen | */editbox [-abNeNEfNinopqNsvckhNr] [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 | 1 | Per Amundsen | -hN - Sets the [[Editbox Control|Editbox]] history item to the Nth item. *(AdiIRC only)* |
26 | 14 | Per Amundsen | -r - TODO |
27 | 1 | Per Amundsen | |
28 | *Parameters* |
||
29 | |||
30 | [window] - The window to edit. |
||
31 | 4 | Per Amundsen | <text|color> - The text to append/insert or the color to set. |
32 | 1 | Per Amundsen | |
33 | *Example* |
||
34 | |||
35 | <pre> |
||
36 | 4 | Per Amundsen | ; Inserts 'Hello World!' into the Editbox in current active window. |
37 | 1 | Per Amundsen | /editbox -a Hello World! |
38 | 13 | Per Amundsen | |
39 | ; Inserts 'Hello World!' into the current active Editor, must be triggered by a custom shortcut. |
||
40 | /editbox -E Hello World! |
||
41 | 1 | Per Amundsen | </pre> |