// get the page, ignoring any errors OnErrorResumeNext WebGetPageHTML "[UTL]", "[file name]" OnErrorStop // here search your file for 500 error... Dim dummy, string Dim got_500_error FileSearchEx "[dir]", "[file name]", "500 error", False, dummy NotEqual dummy, "", got_500_error : Is there a way to trap a 500 error on the WebGetPageHTML function? I want to : execute some code if 24x7 returns a 500 error on a WebGetPageHTML
|