Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CLickthrough()
- {
- global
- WinGet, winId, ID, A
- if (CLickthrough_%winId% = 1)
- {
- InputBox, Transparency, Enter trans, ,,120,100
- WinActive("A")
- WinSet, ExStyle, +0x80020,
- WinSet, Transparent, %Transparency%,
- WinActive("A")
- WinSet, AlwaysOnTop, ON
- CLickthrough_%winId% = 0
- return
- }
- else
- {
- WinActive("A")
- WinSet, ExStyle, -0x80020,
- WinSet, Transparent, off,
- WinActive("A")
- WinSet, AlwaysOnTop, OFF
- CLickthrough_%winId% = 1
- return
- }
- }
- Return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement