Thank you for being a valued part of the CNET community. As of December 1, 2020, the forums are in read-only format. In early 2021, CNET Forums will no longer be available. We are grateful for the participation and advice you have provided to one another over the years.

Thanks,

CNET Support

General discussion

Need App That Will Wait For Sound (WAV) & Run Program

Aug 22, 2004 4:28AM PDT

I've used many apps that automate all sorts of processes. I'm talking
about creating macros, batch scripting, etc.

I need to accomplish one small thing, only I can't find any tiny applet or
full blown scripting program that will do it. I want an app in which you
can enter the path name of a sound (WAV) file. When that sound file plays
it launches the program that you have specified.

Almost any scripting app will play a WAV file. I need one that will wait for
a sound file triggered by Windows or another program and run an executable.

Maybe I haven't spent enough "Google Time" searching for an app that will
do the job. I have to admit, spending several hours searching for something
used to mean nothing to me!

I would appreciate any assistance.

Discussion is locked

- Collapse -
Re: Need App That Will Wait For Sound (WAV) & Run Program
Aug 22, 2004 5:34AM PDT

Sadly, such an app would be custom and not widely available. Here's my initial design idea. I would enable AUDITING in the OSes called Windows NT/2000/XP or 2003 and then write an application that would look at the security log and do that launch.

I will not write such an application but know that it can be done in about 10 to 20 lines of code.

Bob

- Collapse -
Re: Need App That Will Wait For Sound (WAV) & Run Program
Aug 22, 2004 10:57AM PDT

Thanks for replying so quickly Bob.

I started using the web long before Google came
along. You would enter something like "golf club"
and you would get back a long list of nightclubs
scattered around the USA. In fact, you would consider
yourself lucky if the word "club" was even included in
the results!

I tried Google five minutes after I read about this
unusual new search engine in a computer magazine.
For the first time I could find almost anything I
wanted on the web.

Since there are ten zillion little programs out there
I guess I thought I could save myself a few hours of
searching and post a message about what I was looking
for. At least now I know not to waste my time looking
for something that probably doesn't exist.