Radsam Posted January 21, 2005 Share Posted January 21, 2005 Hi, Does anyone know how to have a script wait until an IE web page finishes loading before it continues? Link to comment Share on other sites More sharing options...
Radsam Posted January 21, 2005 Author Share Posted January 21, 2005 Is there a more reliable method? Link to comment Share on other sites More sharing options...
zcoacoaz Posted January 21, 2005 Share Posted January 21, 2005 you might be able to somehow match up certain pixels that wont show if the page isn't done, but that would be lots of code and you would need to use the status bar text still. i think i had problems with a page needing to load before [font="Times"] If anyone remembers me, I am back. Maybe to stay, maybe not.----------------------------------------------------------------------------------------------------------[/font][font="Times"]Things I am proud of: Pong! in AutoIt | SearchbarMy website: F.R.I.E.S.A little website that is trying to get started: http://thepiratelounge.net/ (not mine)[/font][font="Times"] ----------------------------------------------------------------------------------------------------------[/font][font="Arial"]The newbies need to stop stealing avatars!!! It is confusing!![/font] Link to comment Share on other sites More sharing options...
Radsam Posted January 21, 2005 Author Share Posted January 21, 2005 Is there a way to do it reliably using DLLCALL? Link to comment Share on other sites More sharing options...
closeupman Posted January 23, 2005 Share Posted January 23, 2005 (edited) depending on the browser, you could monitor the StatusBarGetText. The difficulty is with java or flash elements on the page. You need to have an indicator that the page is loaded. Usually (if the mouse is not hovering over a link) the StatusBarGetText in a loop looking for the word "Done" is good enough.Lar.<{POST_SNAPBACK}>Just an idea:check that the status bar text DOESN'T contain Loading or downloadingsince obviously if it does it still hasn't finished..u'll also have to check for blank and others.....doesn't seem like any sure fire easy way......unless u're going to same web page and know the approximate load time and just sleep it for that time. Edited January 23, 2005 by closeupman Link to comment Share on other sites More sharing options...
Administrators Jon Posted January 23, 2005 Administrators Share Posted January 23, 2005 I'm looking forward to the COM stuff in the next version for this. Then finally we will be able to reliably tell when IE has loaded a page Deployment Blog:Â https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming:Â https://www.autoitconsulting.com/site/sccm-sdk/ Link to comment Share on other sites More sharing options...
t0ddie Posted January 23, 2005 Share Posted January 23, 2005 me too i use all of those suggestions, and its still not 100% reliable Valik Note Added 19 October 2006 - 08:38 AMAdded to warn level I just plain don't like you. Link to comment Share on other sites More sharing options...
adri Posted January 23, 2005 Share Posted January 23, 2005 me tooi use all of those suggestions, and its still not 100% reliable<{POST_SNAPBACK}>What about a status get + a DoWait(random time from 2-5 seconds goes here)What would the code for that look like? Thanks to Wolvereness for putting up with me and helping me ^_^ Link to comment Share on other sites More sharing options...
Radsam Posted January 24, 2005 Author Share Posted January 24, 2005 What if someone made a DLL in say VB so that it could be used in A3? Is that possible? 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