Jump to content
Sign in to follow this  
FabFly

_IELoadWait error

Recommended Posts

@Roger

Hello there.

I don't have google toolbar, but google desktop instead.

How about the other members participating in this discussion? Do you have any google-related software?

I also have some other products that integrate with IE toolbars... I'll test this, it'll take a while...

Strange, ain't it?

But thanks for the hint :P

EDIT: typos

Edited by footswitch

Share this post


Link to post
Share on other sites

Well here I am with some bad news, I think...

I decided NOT to include the IE.au3 file in my test script, so that every step in the script would be clearer to isolate, if needed.

The code below is what I ended up with:

While 1
    $o_object = ObjCreate("InternetExplorer.Application")
    If IsObj($o_object) Then
        ConsoleWrite("okay...")
        $o_object.visible = 1
                                $o_object.navigate ("about:blank")
        SetError(0)
        $o_object.quit()
        $o_object=0
    Else
        ConsoleWrite("ERROR! NOT AN OBJECT!")
        SetError(1)
        Exit
    EndIf
WEnd

Now you would ask, among other possible things: "why the ConsoleWrite("okay...")?"

Well, turns out that after a couple of loops, the script sent an "okay..." message to the console, and then generated an error when setting the property visible (the action could not be performed within the object or whatsoever). You see, the error occurred RIGHT AFTER checking for IsObj()... this is something way out of my understanding.

This happened several times and, when I was about to restart, I closed some open processes and tried again... Guess what? No errors anymore... Opened the processes again and... still no errors... But the worse part is that this error is no longer associated just to the _IELoadWait() function, but also all the others that involve this kind of object.

NOTE: among all the processes I closed and opened again, there were NO internet explorer windows involved.

I'm...

EDIT: the post was missing some lines.

Edited by footswitch

Share this post


Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...