Cyber Posted May 9, 2006 Share Posted May 9, 2006 Hi all i did this script it is easy but run :"> expandcollapse popup$title="GMail Notifier" $t=0 while 1 $var = WinList() For $i = 1 to $var[0][0] ; Only display visble windows that have a title If $var[$i][0] <> "" AND IsVisible($var[$i][1]) Then ;MsgBox(0, "Details", "Title=" & $var[$i][0] & @LF & "Handle=" & $var[$i][1]) if($t=0 AND WinActive(WinGetTitle("Gmail"))= 0) Then if StringInStr ($var[$i][0], "Inbox (") then TrayTip ($title, "You are new mail", 5,1) $t=1 endif if StringInStr ($var[$i][0], "says") then TrayTip ( $title, "You received a new message", 5,1) $t=1 endif EndIf EndIf Next if WinActive(WinGetTitle("Gmail")) Then $t=0 TrayTip ( "", "", 5,1) endif sleep(1000) wend Func IsVisible($handle) If BitAnd( WinGetState($handle), 2 ) Then Return 1 Else Return 0 EndIf EndFunc Sorry for my stupid English Console Browse: Navigate on the WEB in a textual consoleMultiPing!: Show computer on the lan and/or show the local/remote task, ALL animated!KillaWin: Event executingCryptPage: Crypt your webpage and show only with key 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