Jump to content

Recommended Posts

Posted

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.

Posted

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

  • Developers
Posted

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.
  :)

Posted (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 by ShelbySue

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...