frank10 Posted April 26, 2006 Posted April 26, 2006 I want to receive some live videos streaming from web, but sometimes the connection stops from the server and then I must retype the address to resume it. I want to automate this thing because I am not always present. So I thought I need to check if there is some activity in the router or in the Wan-to-Lan: incoming data. How could I check this with Autoit? Or have you some other ideas?
Don N Posted April 26, 2006 Posted April 26, 2006 Is there a staus window that pops up during the dl? If there is you coudl do somehting like While 1 ;the dl is still running, wait then recheck progress If WinActive( "Status Window Downlaoding" ) Then Sleep(100) ;the dl is complete, exit the script ElseIf WinActive( "Status Window Download complete" ) Then Exitloop ;the dl has stopped unecessarily Else WinActivate( "Browser Window", "" ) ;Re-enter link and redl the vid file EndIf WEnd This will only work if the window that says it is complete remains up after dl finishes. By this i mean the title changes to dl complete or somethign on the status window. _____________________________________________________"some people live for the rules, I live for exceptions"Wallpaper Changer - Easily Change Your Windows Wallpaper
frank10 Posted April 26, 2006 Author Posted April 26, 2006 (edited) No, there aren't windows progressing because it's a LIVE stream, so it's always going on. Anyway your approach gave me an idea to check the window player to see if it's playing the stream or if it's stopped. I will try to see some change in the interface; i don't know if I will solve this problem this way. So I will be glad if someone could give some idea on the Internet traffic on the LAN, because I can see other use for this. Edited April 26, 2006 by frank10
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