Project

General

Profile

Background » History » Version 8

Per Amundsen, 02/14/2023 11:53 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 1 Per Amundsen
17 8 Per Amundsen
| -b | [[Treebar_Control|Treebar]]. |
18
| -h | [[Switchbar_Control|Switchbar]]. |
19
| -o | [[Switchbar_Control|Switchbar]] buttons. *(AdiIRC only)* |
20
| -l | [[Toolbar_Control|Toolbar]]. |
21
| -u | [[Toolbar_Control|Toolbar]] buttons. |
22
| -y | [[Statusbar_Control|Statusbar]]. *(AdiIRC only)* |
23
| -z | [[Menubar_Control|Menubar]]. *(AdiIRC only)* |
24 3 Per Amundsen
25 8 Per Amundsen
| -e | Set as default. |
26
| -x | no background image |
27 1 Per Amundsen
28 8 Per Amundsen
| -c | Center image layout. |
29
| -f | Fill image layout. |
30
| -n | Normal image layout. |
31
| -p | TODO |
32
| -r | Stretch image layout. |
33
| -t | Tile image layout. |
34 1 Per Amundsen
35
*Parameters*
36 2 Per Amundsen
37 8 Per Amundsen
table(ktable).
38
|*Parameter*|*Description*|
39
| [window] | Window name to target if no window switches were specified. |
40
| [filename] | Path/filename of the picture to be used. (Must be enclosed in quotes if it contains spaces) |
41 1 Per Amundsen
42
*Example*
43
44
<pre>
45
;Adds a sample background to current window.
46
/background -a "C:\Users\Public\Pictures\Sample Pictures\Desert Landscape.jpg"
47
48
:Remove the sample background from current window.
49
/background -ax
50
</pre>