hls wrote:
Quote:
> Thanks, I will research the book.
> When Ding wav plays it is Southwest alerting at my pc.
> I want to trap and send a text to alert my cellphone.
>
Hi Harold,
I expect (even with a language more amenable to hooking
than vbs) that you are going to have trouble detecting
your "ding".
For a start, if you wish to consider vb, then take a look
at the vb Utilities found here. There are pre-programmed
utilities which make it easy to implement various types of
system hooks, including thread hooks (which you can do-it-
yourself in vb) and system-wide hooks (needs c++ or some
other more capable language such as delphi).
http://allapi.mentalis.org/vbexample...?category=MISC
You may have better luck with the process hook than anything
else. I suspect that "Southwest" (whoever they are) will have
to run some app or mini-app (IM?) to play the ding. It would
be easier to insert a process hook or a window hook to catch
the IM popup, than to attempt to catch an api call. (Generally
one will call a multimedia api to play a wav file, rather than
use a music player -- less overhead).
cheers, jw
____________________________________________________________
You got questions? WE GOT ANSWERS!!! ..(but, no guarantee
the answers will be applicable to the questions)