lionfaggot Posted July 6, 2013 Share Posted July 6, 2013 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 More sharing options...
water Posted July 6, 2013 Share Posted July 6, 2013 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 - WikiExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example ScriptsOutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - WikiOutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - DownloadOutlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - WikiPowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - WikiTask Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki Standard UDFs:Excel - Example Scripts - WikiWord - Wiki Tutorials:ADO - WikiWebDriver - Wiki Link to comment Share on other sites More sharing options...
lionfaggot Posted July 6, 2013 Author Share Posted July 6, 2013 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 More sharing options...
Kammamuri Posted July 6, 2013 Share Posted July 6, 2013 (edited) 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 July 6, 2013 by Kammamuri Link to comment Share on other sites More sharing options...
lionfaggot Posted July 6, 2013 Author Share Posted July 6, 2013 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 More sharing options...
lionfaggot Posted July 6, 2013 Author Share Posted July 6, 2013 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now