ShellExecute("C:\Program Files\Internet Explorer\iexplore.exe", "D:\sumari.htm", "", "", @SW_MAXIMIZE) Sleep(3000) If WinExists("[CLASS:#32770]", "Active content can harm your computer or disclose personal information") Then ControlClick("[CLASS:#32770]", "Active content can harm your computer or disclose personal information", "Button3") EndIf