I know I can use the command WinSet, Transparent, 175, A to make the window transparent.
But it makes the whole window transparent.
How can I make only part of the window transparent?
eg: Make only the upper part transparent, while the lower part is not.
How to make only part of the window partially transparent? [WinSet]
How to make only part of the window partially transparent? [WinSet]
Last edited by NorInd on 22 Apr 2022, 00:48, edited 1 time in total.
Re: How to make only part of the window transparent? [WinSet]
I know this Region command, (I am using this only as a temporary solution) but it makes the window (the part outside the Region) totally invisible -- ie: alpah = 0;
But how can I make that part only partially transparent -- ie: alpah = 175?
//fix wording
//fix wording
Last edited by NorInd on 22 Apr 2022, 03:04, edited 1 time in total.
Re: How to make only part of the window partially transparent? [WinSet]
Using 'WinSet, Transparent' beforehand/afterwards?
Re: How to make only part of the window partially transparent? [WinSet]
Em, I am not sure what you mean.
Do you mean somehow combine Transparent & Region?
Are you able to provide an example with codes?
Say, I want to set: the upper part of the window to alpha = 175, the lower part to be alpha = 135.
The work around I am using is this, which doesnt set part of the window, but the whole window with a transparency.
Code: Select all
WinSet, Transparent, 135, A
xpos := 40
ypos := 482
width := 800
height := 240
WinSet, Region, %xpos%-%ypos% W%width% H%height%, ahk_exe notepad++.exe
Who is online
Users browsing this forum: apeironn, Bing [Bot], Google [Bot] and 165 guests