Project

General

Profile

Actions

Setlayer » History » Revision 3

« Previous | Revision 3/4 (diff) | Next »
Per Amundsen, 01/04/2015 04:58 PM


Added in 1.9.0

/setlayer <0-255> [window]

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.

Does not work on docked MDI child windows, http://msdn.microsoft.com/en-us/library/aa984329%28VS.71%29.aspx

Parameters

<0-255> - Alpha channel value.
[window] - The window to apply the transparency to.

Example

alias example {
  ;Create a new desktop window.
  /window -de @Example

  ;Set @example to 204/255 (%20) transparency.
  /setlayer 204 @Example

  ;A friendly message.
  echo @Example 20% Transparency!
}

Updated by Per Amundsen almost 10 years ago · 3 revisions

Also available in: PDF HTML TXT