Topicbox » History » Version 6
Per Amundsen, 07/28/2018 07:59 AM
1 | 1 | Per Amundsen | _Added in 1.9.1_ |
---|---|---|---|
2 | |||
3 | 3 | Per Amundsen | */topicbox [-dhostabNeNfNpvck] [window] [text|color]* |
4 | 1 | Per Amundsen | |
5 | 6 | Per Amundsen | Sets [[Topicbox Control|Topicbox]] visibility or visibility style and/or fills the [[Topicbox Control|Topicbox]] of the current or specified window with the specified text. |
6 | 1 | Per Amundsen | |
7 | *Switches* |
||
8 | |||
9 | -d - Use default visibility option. |
||
10 | 6 | Per Amundsen | -h - Show [[Topicbox Control|Topicbox]] as one line, expandable on click. |
11 | -o - Hide [[Topicbox Control|Topicbox]] |
||
12 | -s - Set current [[Topicbox Control|Topicbox]] option as default for all [[Topicbox Control|Topicbox]]es. |
||
13 | -t - Show [[Topicbox Control|Topicbox]] multiline sticky. |
||
14 | -a - Use the [[Topicbox Control|Topicbox]] from the current active window. |
||
15 | 2 | Per Amundsen | -bN - Set selection start to position N. |
16 | -eN - Set selection end to position N. |
||
17 | 6 | Per Amundsen | -fN - If N = 1/[$null] sets focus to the [[Topicbox Control|Topicbox]] and makes sure the window is not minimized and active. |
18 | 2 | Per Amundsen | -p - Append a white-space after the text. |
19 | 6 | Per Amundsen | -v - Prevents the [[Topicbox Control|Topicbox]] contents from being changed. |
20 | -c - Sets the [[Topicbox Control|Topicbox]] text color. |
||
21 | -k - Sets the [[Topicbox Control|Topicbox]] background color. |
||
22 | 1 | Per Amundsen | |
23 | *Parameters* |
||
24 | |||
25 | 6 | Per Amundsen | [window] - Window to change the [[Topicbox Control|Topicbox]]. |
26 | 4 | Per Amundsen | [text|color] - Text to set or color to set with -c and -k switches. |
27 | 1 | Per Amundsen | |
28 | *Example* |
||
29 | |||
30 | <pre> |
||
31 | 2 | Per Amundsen | ; Show Topicbox as one line on #channel. |
32 | 1 | Per Amundsen | /topicbox -h #channel |
33 | |||
34 | 2 | Per Amundsen | ; Hide Topicbox on #channel. |
35 | 1 | Per Amundsen | /topicbox -o #channel |
36 | 2 | Per Amundsen | |
37 | ; Set the Topicbox text for #channel. |
||
38 | /topicbox #channel Test Topic |
||
39 | 1 | Per Amundsen | </pre> |