Jump to content

Open an application and make it invisible


Recommended Posts

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

Link to comment
Share on other sites

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
Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...