Jump to content
Sign in to follow this  
Wb-FreeKill

Is it possible to make all windows trans?

Recommended Posts

Wb-FreeKill

Is it possible to make all windows transparent?, i do know how to make one by specific name transparent, but can you make all windows transparent no matter what window name thay have?

Share this post


Link to post
Share on other sites
SlimShady

That's a difficult one because at the moment we can't enumerate windows.

Else we could do:

$AllWindows = WinEnum()
For $w = 1 To $AllWindows[0]
   WinSetTrans($AllWindows[$w], "", 100)
Next
$value = Round(100 / 255 * 100)
MsgBox(64, "Set Transparency", "All windows now have " & $value & "% transparency!")
Edited by SlimShady

Share this post


Link to post
Share on other sites
Josbe

That's a difficult one because at the moment we can't enumerate windows.

Else we could do:

$AllWindows = WinEnum()
For $w = 1 To $AllWindows[0]
   WinSetTrans($AllWindows[$w], "", 100)
Next
$value = Round(100 / 255 * 100)
MsgBox(64, "Set Transparency", "All windows now have " & $value & "% transparency!")

<{POST_SNAPBACK}>

Yeah, would be nice/easy.....:) Edited by josbe

Share this post


Link to post
Share on other sites
konan

Thank you for your code!

Share this post


Link to post
Share on other sites
this-is-me

Yo, konan, the unstable has been updated with a winlist function. You can do the same thing natively now.


Who else would I be?

Share this post


Link to post
Share on other sites
thimker

Sorry, last 1 was bad... try this one

'nother newbie replies:

I copied that code into "whandle.au3", in AutoIt folder, clicked, and got

"Error: Unknown fuction name" on line 3 "WinSetTrans()"..

Same for version at

http://www.autoitscript.com/forum/index.php?showtopic=5764

What is needed to run examples such as these?

Share this post


Link to post
Share on other sites
thimker
layer

maybe we could make a pop up blocker by secretly making all windows transparent :idiot:


FootbaG

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×