Jump to content

Recommended Posts

Posted (edited)

InetGetSize requires a full URL

this will work

InetGetSize("http://www.cyberload.pl/test.txt")

this will not work

InetGetSize("www.cyberload.pl/test.txt")

Edited by Bowmore

"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the universe trying to build bigger and better idiots. So far, the universe is winning."- Rick Cook

Posted

If the page has text that changes, you can use this code to detect that.

#include <INet.au3>

Local $URL = "http://somesite.com/pagetocheck.html", _
    $Text = "Blah, blah blah blah", _
    $Source = _INetGetSource($URL)

If StringInStr($Source, $Text) = 0 Then
    ;; If $Text is different than what's defined..
    MsgBox(0, "", "Change!!")
EndIf

- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...