AutoitHacks

Transparent All Windows xD

Mar 26th, 2012
660
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.45 KB | None | 0 0
  1. Local $var = WinList()
  2.  
  3. For $i = 1 To $var[0][0]
  4.     ; Only display visble windows that have a title
  5.     If $var[$i][0] <> "" And IsVisible($var[$i][1]) Then
  6.         MsgBox(0, "Details", "Title=" & $var[$i][0] & @LF & "Handle=" & $var[$i][1]) ;MSGBOX
  7.         WinSetTrans("" & $var[$i][0] ,"",200) ; Here baby!! Here!! xD
  8.     EndIf
  9. Next
  10.  
  11. Func IsVisible($handle)
  12.     If BitAND(WinGetState($handle), 2) Then
  13.         Return 1
  14.     Else
  15.         Return 0
  16.     EndIf
  17.  
  18. EndFunc   ;==> Is Visible  e.e
Advertisement
Add Comment
Please, Sign In to add comment