title: How do I hook another applications events?
body: <p>I'd like to hook the event that is triggered when an application is trying to notify you of something (when its icon background turns orange and starts flashing) so  that I can create my own custom notifications (like getting a text message or email)</p>
  
  <p>For example I'd like to have an event triggered when I receive an instant message on my computer that will send a message to my phone so I can respond appropriately. </p>
  
  <p>How would I go about doing this?</p>
  
  <p>Preferably I'd like something that could hook any notification event (then do the filtering inside the application, and something that works on windows XP and up) </p>
  
  <p>Thanks</p>