Jump to content

IE wait to load


Recommended Posts

Did you have a look at the builtin IE UDF? It has a _IELoadWait function.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

Link to comment
Share on other sites

Simple example:

#include <IE.au3>
$bWaitLoad = False
$oIE = _IECreate ( "[url="http://www.google.com"]www.google.com[/url]", 1, 1, $bWaitLoad )
_IELoadWait ( $oIE )
_IENavigate($oIE, "[url="http://www.msn.com"]www.msn.com[/url]", $bWaitLoad )
_IELoadWait ( $oIE )
IEbyXPATH-Grab IE DOM objects by XPATH IEscriptRecord-Makings of an IE script recorder ExcelFromXML-Create Excel docs without excel installed GetAllWindowControls-Output all control data on a given window.
Link to comment
Share on other sites

It seems you didn't understand me . For some people it can be site that isn't even well known , it could be facebook or anything , these examples are only for google, msn and another website that I choose , but what if in someone else's computer it is ask.com ? I want to say that it waits just to load the page , whatever it is.

BTW , it shows me that when I open the script made by jdejaney Posted Image

Link to comment
Share on other sites

The functions mentioned here do what you ask, you need to read about the functions that have been shown to you.

The code you tried has been auto formatted by the forum.

Should be:

$yoururl = '@@@.msn.com' ;replace @@@ with www
_IENavigate($oIE, $yoururl , $bWaitLoad )

$yoururl is a variable meaning that it can be set to whatever url you want

Edited by Shane0000
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...