If you want system-wide event notification then you'll have to have a Windows hook me thinks. There is an article on System-wide keyboard hooks here on CP, can't remember what it's called but search for "system wide hotkey" and you should find it.
As of how to accomplish this, have you ever tried Google?