stolie 0 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 Share this post Link to post Share on other sites
Valuater 129 Posted March 19, 2005 here ya go... RunWait(@ProgramFilesDir & "\Internet Explorer\iexplore.exe www.YOUR_SITE.com") hope it helps... Share this post Link to post Share on other sites
SlimShady 1 Posted March 19, 2005 Has been asked before. At least twice. Please use the search function. Thank you for your cooperation. Share this post Link to post Share on other sites
stolie 0 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 Share this post Link to post Share on other sites
stolie 0 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 Share this post Link to post Share on other sites
SlimShady 1 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}> Share this post Link to post Share on other sites