Jump to content
Sign in to follow this  
entrapay234

Open an application and make it invisible

Recommended Posts

entrapay234

.

Edited by Abraluna

Share this post


Link to post
Share on other sites
stormbreaker
WinSetTrans().Correct ur code to Func Transparency() as well. Edited by MKISH

----------------------------------------

:bye: Hey there, was I helpful?

----------------------------------------

My Current OS: Win8 PRO (64-bit); Current AutoIt Version: v3.3.8.1

Share this post


Link to post
Share on other sites
Rogue5099

Try something like this:

HotKeySet("a", "Transparency")

$Window = "chrome.exe"

While 1
Sleep(10)
WEnd

Func Transparency()
Local $state = WinGetState($Window, "")

If BitAND($state, 2) Then 
WinSetState($Window, "", @SW_HIDE)
Else
WinSetState($Window, "", @SW_SHOW)
EndIf
EndFunc
Edited by Rogue5099

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  

×