I need to write (or acquire) a script that continuously pings a site (google will do), and then execute a sound file if my internet connection drops out. The reason for this is that I have an application that needs to be constantly connected to the internet and if that connection drops out, which it does, I need to know immediately so that I can reset the connection. Is such a script difficult to write? Any insight would be greatly appreciated. Thanks in advance. Also, I apologize if this topic is misplaced here. If so, I'll gladly take my request elsewhere.