Jump to content

_IELodWait() occasionally never loads


Recommended Posts

so, i got this bot yeah? and it goes fine for a while but occasionally it seems like ieloadwait never triggers so the script just hangs forcing me to either f5 and reload the page in ie (at which point the script usually continues) or until i restart the script completely. seriously perplexing issue. is this a bug in wininet? or is there something i can do to remedy this?

Link to comment
Share on other sites

What do you mean by "bot"? Can you please elaborate? What does your script do?

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

well, it just automates a set of forms. the script works. just occasionally ieloadwait never finishes. upon reading further into the help file i found a function to set the load timeout. this seems to be working now. thanks anyway

Link to comment
Share on other sites

the default timeout should be 5 min (300000ms), so even if you leave it blank it should timeout after that much time. However, it happened to me too that it didn't time out at all with the default value

edit: in http://www.autoitscript.com/autoit3/docs/libfunctions/_IELoadWaitTimeout.htm a zero is missing in the Remarks section

Edited by Kammamuri
Link to comment
Share on other sites

im gonna be straight up, in some ways wininet is an alright library, but honestly? microsoft did a pretty sloppy job of putting it together. for instance, with _IEFormElementRadioSelect and _IEFormElementCheckBoxSelect. now note, both of these form elements work pretty much the same for the most part. so right. why with ie.au3 do i have different parameters for these two functions. i can understand the two are different object types but the same problem remains, they should have the same set of parameters as theyre pretty much the same thing

Link to comment
Share on other sites

i mean you can click the forms by their object names. which achieves the same result for both. still, wininet is kind of a perplexing library in some ways. been going through the UDF and getting to know way more than i needed about wininet

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...