ASut Posted November 10, 2008 Posted November 10, 2008 How to show all the windows that use the following command to hide them if WinActive("","") Then WinSetState("", "", @SW_HIDE)
Airwolf Posted November 10, 2008 Posted November 10, 2008 Use WinGetHandle() to retrieve the handle of the window and use that to hide or show instead of using strings. $window1 = WinGetHandle("Title","Text") If WinActive($window1) Then WinSetState($window1,"",@SW_HIDE) EndIf You can also populate an array with WinList() and then perform a WinGetState() on each to find the hidden windows. Certifications: A+, Network+, Security+, Linux+, LPIC-1, MCSA | Languages: AutoIt, C, SQL, .NETBooks: AutoIt v3: Your Quick Guide - $7.99 - O'Reilly Media - September 2007-------->[u]AutoIt v3 Development - newbie to g33k[/u] - Coming Soon - Fate Publishing - Spring 2013UDF Libraries: SkypeCOM UDF Library | ADUC Computers OU Cleanup | Find PixelChecksumExamples: Skype COM Examples - Skype4COMLib Examples converted from VBS to AutoIt
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