stolie Posted March 18, 2005 Share Posted March 18, 2005 Hi, I have a series of webpages that i run through and currently use the sleep function (by estimating the time ) to wait for a page to finsih loading. Problem is that i am encountering problems with variations in the time it takes for webpage to finish downloading (eg : high internet traffic etc) Is there a function i can use that asks for the script to pause until the activate webpage has finished downloading? Thanks in advance Link to comment Share on other sites More sharing options...
Valuater Posted March 19, 2005 Share Posted March 19, 2005 here ya go... RunWait(@ProgramFilesDir & "\Internet Explorer\iexplore.exe www.YOUR_SITE.com") hope it helps... Link to comment Share on other sites More sharing options...
SlimShady Posted March 19, 2005 Share Posted March 19, 2005 Has been asked before. At least twice. Please use the search function. Thank you for your cooperation. Link to comment Share on other sites More sharing options...
stolie Posted March 19, 2005 Author Share Posted March 19, 2005 Has been asked before. At least twice.Please use the search function.Thank you for your cooperation.<{POST_SNAPBACK}>Slim, sorry but i did do a search and the answers didnt satisfy my needs, or i didnt understand themthanks for the help Link to comment Share on other sites More sharing options...
stolie Posted March 19, 2005 Author Share Posted March 19, 2005 here ya go...RunWait(@ProgramFilesDir & "\Internet Explorer\iexplore.exe www.YOUR_SITE.com")hope it helps...<{POST_SNAPBACK}>thankyou, ill do some research and see how i go Link to comment Share on other sites More sharing options...
SlimShady Posted March 19, 2005 Share Posted March 19, 2005 I don't understand. I use this as an example and it works perfect:AutoItSetOption("WinTitleMatchMode", 2) Run("explorer http://www.msn.com") WinWait("Internet Explorer") Sleep(1000) WinSetState("Internet Explorer", "", @SW_MAXIMIZE) MouseMove(100, 1, 0) $x = MouseGetCursor() Do $x = MouseGetCursor() Sleep(500) Until $x = 2<{POST_SNAPBACK}> 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