Jump to content

Errors in the browsers


Recommended Posts

Hi there! When i use the navigate function for the IE webbrowsers i will get an error and program crashes if a popup comes up and then it try to naviagate!

How do i fix so the program not crashes?

I've seen to write

If @error then

else

and then the code here..

But i mean, where in code i put it? When it will navigate also.. i have tried put over it and under it but not work :S

Link to comment
Share on other sites

See log files of Internet explorer and say the error.

And if you can show the script.

Thank you

Ok, it says:

Line 316 (File "C:\Program\AutoIT3\Include\IE.au3");

$o_Object.navigate($s_Url)

$o_Object.navigate($s_Url)^ERROR

Error: The requested action with this object has failed

I just got a hotkey, a normal function. First it set a hotkey, then when i press it, it go to a site, but if a popup comes up and the hotkey went pressed again and it will try to go to it again, it comes up this error

Strange things is that the line 316 doesn't even exist in my program :S

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...