while Sleep(10) if WinExists("Meldung von Webseite", "") then ; Win 7 / IE8 WinActivate("Meldung von Webseite", "") ControlClick("Meldung von Webseite", "", "[CLASS:Button; INSTANCE:1]") Exit Elseif WinExists("Microsoft Internet Explorer", "") then ; Win XP / IE7 WinActivate("Microsoft Internet Explorer", "") ControlClick("Microsoft Internet Explorer", "", "[CLASS:Button; INSTANCE:1]") Exit EndIf WEnd