NSearch Posted April 27, 2005 Share Posted April 27, 2005 Hello. I thought I had this problem solved with winwait(Page title but I seem to be having the same problem. I would like to wait until a webpage has fully loaded before clicking on the page. I do not want to use the sleep command, because the page may load at different speeds depending on the connection. Any suggestions. Thanks. Link to comment Share on other sites More sharing options...
NSearch Posted April 27, 2005 Author Share Posted April 27, 2005 Does anyone know how to test the "Status Bar Text" for the word Done? Link to comment Share on other sites More sharing options...
NSearch Posted April 27, 2005 Author Share Posted April 27, 2005 Does anyone see a problem with this: $click_flag = 0 While $click_flag = 0 If StatusbarGetText("TITLE") = "Done" Then $click_flag = 1 MouseClick("Left", 351, 461) MouseClick("Left", 351, 538) MouseClick("Left", 351, 607) Endif WEnd Link to comment Share on other sites More sharing options...
Developers Jos Posted April 27, 2005 Developers Share Posted April 27, 2005 Does anyone know how to test the "Status Bar Text" for the word Done?<{POST_SNAPBACK}>Did you try what your name suggests: Search the forum ?I guess this is one of the most commonly asked questions, so should give enough hits to answer the question..... SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
ShelbySue Posted April 27, 2005 Share Posted April 27, 2005 (edited) If you are trying to get info from a webpage, you might try: [EDIT : use two slashes below $I_file = "http://www.msn.com" $ourfile = "c:\myfile.txt" InetGet($I_file, $ourfile, 1, 1) ; variable tracks if "get" has completed While @InetGetActive TrayTip("Downloading", "Bytes = " & @InetGetBytesRead, 10, 16) Sleep(250) Wend Then, open and read the file for data. Edited April 27, 2005 by ShelbySue 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