Sets the transparency of a window. (Windows 2000/XP or later)
WinSetTrans ( "title", "text", transparency )
Parameters
title | The title of the window to change. |
text | The text of the window to change. |
transparency | A number in the range 0 - 255. The larger the number, the more transparent the window will become. |
Return Value
Non-zero on success, zero on failure. @error will be set to 1 if the function isn't supported on an OS.
Remarks
Requires Windows 2000/XP or later.
Related
None.
Example
Opt("WinTitleMatchMode", 2) ; Match substring
WinSetTrans("Notepad", "", 170) ; Make Notepad window semi-transparent.