Editbox » History » Version 4
Per Amundsen, 11/24/2016 12:37 PM
| 1 | 1 | Per Amundsen | _Added in 1.9.0_ |
|---|---|---|---|
| 2 | |||
| 3 | 4 | Per Amundsen | */editbox [-abNeNfNnopqNsvcC] [window] <text|color>* |
| 4 | 1 | Per Amundsen | |
| 5 | 4 | Per Amundsen | Fills the Editbox of the current or specified window with the specified text. |
| 6 | 1 | Per Amundsen | |
| 7 | *Switches* |
||
| 8 | |||
| 9 | 4 | Per Amundsen | -a - Use the 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 | 4 | Per Amundsen | -fN - If N = 1/[$null] sets focus to the Editbox and makes sure the window is not minimized and active. |
| 13 | -n - "press" enter on the Editbox after the text is added. |
||
| 14 | 2 | Per Amundsen | -o - TODO |
| 15 | 4 | Per Amundsen | -p - Append a white-space after the text. |
| 16 | 1 | Per Amundsen | -qN - TODO |
| 17 | 4 | Per Amundsen | -s - Use the Editbox from status/server window associated with current window. |
| 18 | -v - Prevents the Editbox contents from being changed. |
||
| 19 | -c - Sets the Editbox text color. |
||
| 20 | -C - Sets the Editbox background color. |
||
| 21 | 1 | Per Amundsen | |
| 22 | *Parameters* |
||
| 23 | |||
| 24 | [window] - The window to edit. |
||
| 25 | 4 | Per Amundsen | <text|color> - The text to append/insert or the color to set. |
| 26 | 1 | Per Amundsen | |
| 27 | *Example* |
||
| 28 | |||
| 29 | <pre> |
||
| 30 | 4 | Per Amundsen | ; Inserts 'Hello World!' into the Editbox in current active window. |
| 31 | 1 | Per Amundsen | /editbox -a Hello World! |
| 32 | </pre> |