Core Function WinSetTrans
From Sputnik Wiki
WinSetTrans ( <title>, <text>, <transparency> )
Contents |
Description
Sets the transparency of a window..
Parameters
Title
The title of the window.
Text
The text of the window to read.
transparency
A number in the range 0 - 255. The larger the number, the more transparent the window will become.
Return Value
Success: Returns 1.
Failure: Returns 0.
Failure: Returns -1 (If the function isn't supported on an OS).
Remarks
See "WinTitleMatchMode" in Opt
Example
Opt("WinTitleMatchMode", 2); // Match substring WinSetTrans("Notepad", "", 170); // Make Notepad window semi-transparent. sleep(3000); WinSetTrans("Notepad", "", 500); // Undo it.