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