Mast3rpyr0 Posted October 15, 2007 Share Posted October 15, 2007 Is it possible to do this, maybe sonmething like GuiSetState(@SW_HIDE, WinGetTitle("title"))? I wanna install folding @ homeat my school and dont want it to be visible. My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here! Link to comment Share on other sites More sharing options...
alien13 Posted October 15, 2007 Share Posted October 15, 2007 Is it possible to do this, maybe sonmething like GuiSetState(@SW_HIDE, WinGetTitle("title"))? I wanna install folding @ homeat my school and dont want it to be visible. I'm not sure if this is what you want but: WinSetState("Untitled -", "", @SW_HIDE) That will hide notepad. You could adjust that to your needs and use @SW_SHOW to reshow if needed. alien13 Link to comment Share on other sites More sharing options...
Nahuel Posted October 15, 2007 Share Posted October 15, 2007 You wanna hide all non-AutoIt windows? Then you can use something like this: #include <Misc.au3> $WinsList=WinList() For $i=1 To $WinsList[0][0] If $WinsList[$i][0] <> "" AND $WinsList[$i][0] <> "Program Manager" AND _ IsVisible($WinsList[$i][1]) AND IsNotAutoIt($WinsList[$i][1]) Then MsgBox(0,"","Window to hide= "&$WinsList[$i][0] ) ;~ WinSetState($WinsList[$i][0],"",@SW_HIDE) EndIf Next Func IsVisible($handle) If BitAnd( WinGetState($handle), 2 ) Then Return 1 Else Return 0 EndIf EndFunc Func IsNotAutoit($handle) If _IsClassName($handle,"AutoIt v3 GUI") Then Return 0 Else Return 1 EndIf EndFunc Link to comment Share on other sites More sharing options...
Mast3rpyr0 Posted October 15, 2007 Author Share Posted October 15, 2007 thats what i wanted, thanks guys. My UDF's : _INetUpdateCheck() My Programs : GameLauncher vAlpha, InfoCrypt, WindowDesigner, ScreenCap, DailyRemindersPick3GeneratorBackupUtility! Other : Bored? Click Here! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now