Jump to content

make a internet connexion bandwhich checker with a 1M0 pic


hutch
 Share

Recommended Posts

hello

how could I check if a image is copletely downloaded ?

I want to check the time between the link to 1mo.bmp is launched en the time when the pic donloading is finish is it possible ?

my beta script

#include <GUIConstants.au3>
#include <IE.au3>
Opt("GUIOnEventMode", 1)  ; Change to OnEvent mode  

$Form1 = GUICreate("test", 600, 200, 10, 10);,  $WS_POPUP )
        GUISetOnEvent($GUI_EVENT_CLOSE, "terminate")
        $Obj = _IECreateEmbedded ( )
        $browser = GUICtrlCreateObj($Obj, 0, 0, 600, 200 )
        GUISetState(@SW_SHOW)
        _IENavigate ($Obj, 'http://192.168.0.1/1MO.bmp')
        While 1
            sleep (3000)

        WEnd
        
Func terminate()
exit
EndFunc
Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

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