sowas z.b. könnte man machen:
Code
#include <GUIConstants.au3>
$nummer = InputBox("ICQ Status Manager", "ICQ Nummer eingeben", "213-827-316")
$tmpfile = @TempDir & "\~icq" & $nummer & ".html"
$tmpflower = @TempDir & "\~icqflower.gif"
If @error Then Exit
While 1
InetGet("http://www.icq.com/people/about_me.php?uin=" & StringReplace($nummer, "-", ""), $tmpfile)
$tmpread = FileRead($tmpfile, 999999)
$downloadflower = StringSplit($tmpread, '<div class="uinf-2-2-2-0"><img src=', 1)
$downloadflower = StringSplit($downloadflower[2], ' width="13" height="13" align="absmiddle" valign="middle"></div>', 1)
$downloadflower = StringReplace($downloadflower[1], '"', "")
InetGet($downloadflower, $tmpflower)
$titel = StringSplit($tmpread,"<title>",1)
$titel = StringSplit($titel[2]," - ICQ.com",1)
$titel = StringReplace($titel[1],">",">")
SplashImageOn("",$tmpflower,13,13,0,0,1)
PixelSearch(9, 11, 9, 11, 7326327)
If Not @error Then
Beep()
MsgBox(0,"",$titel&" is online!")
FileDelete($tmpflower)
FileDelete($tmpfile)
Exit
EndIf
SplashOff()
Sleep(5000)
FileDelete($tmpflower)
FileDelete($tmpfile)
WEnd
Alles anzeigen