2008-12-18

myShowDeskTop (AutoIt script)

For this you'll need AutoIt

...
;- ; myShowDeskTop - minimize non-toolwindows ;- ; Description ;- ; 'Show Desktop' & MinimizeAll ; minimize EVERYTHING including ; Google Desktop and floating ; toolbars...this excludes ; those not in 'my' list ;- $var = WinList() For $i = 1 to $var[0][0] If $var[$i][0] <> "" _ And IsVisible($var[$i][1]) _ And NOT IsMinimized($var[$i][1]) _ And $var[$i][0]<>'EnvSW' _ And $var[$i][0]<>'FB © 2008' _ And $var[$i][0]<>'Program Manager' _ Then WinSetState($var[$i][0],"",@SW_MINIMIZE ) EndIf Next Func IsVisible($handle) If BitAnd( WinGetState($handle), 2 ) Then Return 1 Else Return 0 EndIf EndFunc Func IsMinimized($handle) If BitAnd( WinGetState($handle), 16 ) Then Return 1 Else Return 0 EndIf EndFunc

No comments:

LibriVox's New Releases

Blog Archive