Method Reference
WinSetTrans
Sets the transparency of a window
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. oAutoIt.error will be set to 1 if the function isn't supported on an OS.Example
Set oAutoIt = WScript.CreateObject("AutoItX3.Control") oAutoIt.Run("notepad.exe", "", oAutoIt.SW_MINIMIZE) oAutoIt.WinWaitActive("Untitled - Notepad") oAutoIt.WinSetTrans "Untitled - Notepad","", 50