TheCatMan
03-28-2005, 05:48 AM
Is there any program that will monitor running processes and give an audible alarm, or better still, run a script when a new process starts with a certain name?
Here's the background: I use Skype (www.skype.com) as my only home 'phone, with one soundcard dedicated to 'phone use and another for playing music or whatever. When a 'phone call comes in, it gives me a ringing noise through the same sound card that I use for calls, ie the one with little headphones plugged in. This is a problem because I don't spend my whole life sitting in front of my PC and wearing a headset. Old versions of Skype were able to "ring" on a different soundcard, but that feature has been broken for the last few iterations and the company don't seem interested in fixing it. I've noticed that when a call comes in, Skype starts a new process, with the same name but obviously a new PID.
What I want is something to recognise that (a) a new process has started and (b) this process is named "skype," and respond by making a noise that I can actually hear. Ideally it would also call a script to do things like pausing wget to free bandwidth, popup a message on screen etc. Any other suggestions would also be gratefully received. :)
Thanks in advance.
Here's the background: I use Skype (www.skype.com) as my only home 'phone, with one soundcard dedicated to 'phone use and another for playing music or whatever. When a 'phone call comes in, it gives me a ringing noise through the same sound card that I use for calls, ie the one with little headphones plugged in. This is a problem because I don't spend my whole life sitting in front of my PC and wearing a headset. Old versions of Skype were able to "ring" on a different soundcard, but that feature has been broken for the last few iterations and the company don't seem interested in fixing it. I've noticed that when a call comes in, Skype starts a new process, with the same name but obviously a new PID.
What I want is something to recognise that (a) a new process has started and (b) this process is named "skype," and respond by making a noise that I can actually hear. Ideally it would also call a script to do things like pausing wget to free bandwidth, popup a message on screen etc. Any other suggestions would also be gratefully received. :)
Thanks in advance.