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