Setlayer » History » Version 4
Per Amundsen, 02/16/2023 03:15 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 | 3 | Per Amundsen | _Does not work on docked MDI child windows, http://msdn.microsoft.com/en-us/library/aa984329%28VS.71%29.aspx_ |
8 | 2 | Per Amundsen | |
9 | 1 | Per Amundsen | *Parameters* |
10 | |||
11 | 4 | Per Amundsen | table(ktable). |
12 | |*Parameter*|*Description*| |
||
13 | | <0-255> | Alpha channel value. | |
||
14 | | [window] | The window to apply the transparency to. | |
||
15 | 1 | Per Amundsen | |
16 | *Example* |
||
17 | |||
18 | <pre> |
||
19 | alias example { |
||
20 | ;Create a new desktop window. |
||
21 | /window -de @Example |
||
22 | |||
23 | ;Set @example to 204/255 (%20) transparency. |
||
24 | /setlayer 204 @Example |
||
25 | |||
26 | ;A friendly message. |
||
27 | echo @Example 20% Transparency! |
||
28 | } |
||
29 | </pre> |