Setlayer » History » Version 2
Per Amundsen, 01/04/2015 04:57 PM
1 | 1 | Per Amundsen | _Added in 1.9.0_ |
---|---|---|---|
2 | |||
3 | */setlayer <0-255> [window]* |
||
4 | |||
5 | change the transparency of a given window. If no window is provided, the transparency setting will apply to the main MDI window. The setlayer works on all windows as long as the full name is provided, for example "Status Window" for the status window. |
||
6 | |||
7 | 2 | Per Amundsen | _Does not work on MDI child windows, http://msdn.microsoft.com/en-us/library/aa984329%28VS.71%29.aspx_ |
8 | |||
9 | 1 | Per Amundsen | *Parameters* |
10 | |||
11 | <0-255> - Alpha channel value. |
||
12 | [window] - The window to apply the transparency to. |
||
13 | |||
14 | *Example* |
||
15 | |||
16 | <pre> |
||
17 | alias example { |
||
18 | ;Create a new desktop window. |
||
19 | /window -de @Example |
||
20 | |||
21 | ;Set @example to 204/255 (%20) transparency. |
||
22 | /setlayer 204 @Example |
||
23 | |||
24 | ;A friendly message. |
||
25 | echo @Example 20% Transparency! |
||
26 | } |
||
27 | </pre> |