Silence Detector - Restarting Browser
|
Back to Old Forum Mainpage
Carl, 21.8.2009, 16:27
Restarting Browser
FYI here's my solution. use a bat file to call the program over and over again, since only one instance of the program will run from one location the bat file stays open ready to start the program again when it closes. Now when you have an alarm condition kill the browser, and kill the silence sensor, the bat file reopens the program and.. the app. restarts with "alarm not active" then reopens the browser. If the stream isn't there the whole thing starts over again. This can be done as many times as you have the app called for in the bat file. One last thing I did was create a seperate instance of the app and have the bat file call it as the last step in the bat file. This instance is set to resart the pc upon an alarm so that the desktop gets a cleanup after all the restarts of the browser. Then my normal windows startup folder calls on the bat file again and the whole things starts over again. So far computer been hooked to the stream come heck or high water for 3 days now... seems to work great... again thanks for a great app.
Back to Old Forum Mainpage