Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: @hidden winstate winiconize
; Iconize all windows ;BUT NOT THE HIDDEN ONES!!! AllWins = WinItemize() nItemCount = ItemCount( AllWins, @TAB ) For nCount = 1 to nItemCount WinToIconize = ItemExtract( nCount, AllWins, @TAB ) if WinState(WinToIconise) != @HIDDEN WinIconize( WinToIconize ) endif Next
See the function WinItemizeEx, and specify @False as the hidden parameter.
; Find all windows that are not hidden wins = WinItemizeEx("",@TRUE,@False) nItemCount = ItemCount( Wins, @TAB ) For nCount = 1 to nItemCount WinToIconize = ItemExtract( nCount, Wins, @TAB ) WinIconize( WinToIconize ) endif Next
Article ID: W13260
Filename: Iconize all Windows except Hidden ones.txt
File Created: 2001:01:15:16:04:20
Last Updated: 2001:01:15:16:04:20