Project

General

Profile

Background » History » Version 9

Per Amundsen, 02/14/2023 11:54 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*/background [-abcdefghlmnprstuxyz] [window] [filename]*
4
5
Changes or adds a background image for a window or control.
6
7
*Switches*
8
9 8 Per Amundsen
table(ktable).
10
|*Switch*|*Description*|
11
| -a | Active window. |
12
| -d | *TODO* |
13
| -g | *TODO* |
14
| -m | Main AdiIRC window. |
15
| -s | Server window. |
16
| -b | [[Treebar_Control|Treebar]]. |
17
| -h | [[Switchbar_Control|Switchbar]]. |
18
| -o | [[Switchbar_Control|Switchbar]] buttons. *(AdiIRC only)* |
19
| -l | [[Toolbar_Control|Toolbar]]. |
20
| -u | [[Toolbar_Control|Toolbar]] buttons. |
21
| -y | [[Statusbar_Control|Statusbar]]. *(AdiIRC only)* |
22
| -z | [[Menubar_Control|Menubar]]. *(AdiIRC only)* |
23
| -e | Set as default. |
24
| -x | no background image |
25
| -c | Center image layout. |
26
| -f | Fill image layout. |
27
| -n | Normal image layout. |
28
| -p | TODO |
29
| -r | Stretch image layout. |
30
| -t | Tile image layout. |
31 1 Per Amundsen
32
*Parameters*
33 2 Per Amundsen
34 8 Per Amundsen
table(ktable).
35
|*Parameter*|*Description*|
36
| [window] | Window name to target if no window switches were specified. |
37
| [filename] | Path/filename of the picture to be used. (Must be enclosed in quotes if it contains spaces) |
38 1 Per Amundsen
39
*Example*
40
41
<pre>
42
;Adds a sample background to current window.
43
/background -a "C:\Users\Public\Pictures\Sample Pictures\Desert Landscape.jpg"
44
45
:Remove the sample background from current window.
46
/background -ax
47
</pre>