Project

General

Profile

Background » History » Revision 8

Revision 7 (Per Amundsen, 03/27/2021 05:50 PM) → Revision 8/9 (Per Amundsen, 02/14/2023 11:53 AM)

_Added in 1.9.0_ 

 */background [-abcdefghlmnprstuxyz] [window] [filename]* 

 Changes or adds a background image for a window or control. 

 *Switches* 

 table(ktable). 
 |*Switch*|*Description*| 
 | -a | - Active window. | 
 | -d | - *TODO* | 
 | -g | - *TODO* | 
 | -m | - Main AdiIRC window. | 
 | -s | - Server window. | 

 | -b | - [[Treebar_Control|Treebar]]. | 
 | -h | - [[Switchbar_Control|Switchbar]]. | 
 | -o | - [[Switchbar_Control|Switchbar]] buttons. *(AdiIRC only)* | 
 | -l | - [[Toolbar_Control|Toolbar]]. | 
 | -u | - [[Toolbar_Control|Toolbar]] buttons. | 
 | -y | - [[Statusbar_Control|Statusbar]]. *(AdiIRC only)* | 
 | -z | - [[Menubar_Control|Menubar]]. *(AdiIRC only)* | 

 | -e | - Set as default. | 
 | -x | - no background image | 

 | -c | - Center image layout. | 
 | -f | - Fill image layout. | 
 | -n | - Normal image layout. | 
 | -p | - TODO | 
 | -r | - Stretch image layout. | 
 | -t | - Tile image layout. | 

 *Parameters* 

 table(ktable). 
 |*Parameter*|*Description*| 
 | [window] | - Window name to target if no window switches were specified. | 
 | [filename] | - Path/filename of the picture to be used. (Must be enclosed in quotes if it contains spaces) | 

 *Example* 

 <pre> 
 ;Adds a sample background to current window. 
 /background -a "C:\Users\Public\Pictures\Sample Pictures\Desert Landscape.jpg" 

 :Remove the sample background from current window. 
 /background -ax 
 </pre>