Jump to content

Object IE


Recommended Posts

Im tring to use this in autoit:


It waits until the page has loaded and then continues the script.

The syntax is:

Private Sub object_NavigateComplete2( _

ByVal pDisp As Object, _

ByVal URL As Variant)


object = Object expression that resolves to the objects in the Applies To list.

pDisp = Object that evaluates to the top-level or frame WebBrowser object corresponding to the event.

URL = Stringexpression that evaluates to the URL, UNC file name, or PIDL that was navigated to. Note that this URL can be different from the URL that the browser was told to navigate to. One reason is that this URL is the canonicalized and qualified URL; for example, if an application specified a URL of "www.microsoft.com" in a call to the Navigate or Navigate2 method, the URL passed by Navigate2 will be "http://www.microsoft.com/". Also, if the server has redirected the browser to a different URL, the redirected URL will be reflected here.

EDIT: typos!!!!!!!

Edited by bert
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

  • Recently Browsing   0 members

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