Project

General

Profile

Editbox » History » Version 3

Per Amundsen, 03/20/2015 01:16 PM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*/editbox [-abNeNfNnopqNsv] [window] <text>*
4
5
Fills the editbox of the current or specified window with the specified text.
6
7
*Switches*
8
9
-a - Use the editbox from the current active window.
10
-bN - Set selection start to position N.
11
-eN - Set selection end to position N.
12 2 Per Amundsen
-fN - If N = 1/[$null] sets focus to the editbox and makes sure the window is not minimized and active.
13 1 Per Amundsen
-n - "press" enter on the editbox after the text is added.
14
-o - TODO
15
-p - Append a whitespace after the text.
16
-qN - TODO
17
-s - Use the editbox from status/server window associated with current window.
18 3 Per Amundsen
-v - Prevents the editbox contents from being changed.
19 1 Per Amundsen
20
*Parameters*
21
22
[window] - The window to edit.
23
<text> - The text to append/insert.
24
25
*Example*
26
27
<pre>
28
;Inserts 'Hello World!' into the editbox in current active window.
29
/editbox -a Hello World!
30
</pre>