I would like to have a script I can run in Windows 7 that will play a sound when a specific program window closes. It is a window like those you would open as a command line, and is running a compiler named "resample.exe" (part of custom scenery creation for MS Flight Simulator X) that would be displayed in the window header. Once started, the compiler runs for several minutes, and then the window closes automatically. I would like to have the PC play a sound when the window closes.
I can set Windows 7 to sound when "any" window closes, and this works, but it keeps sounding for all the other things I am opening and closing while I wait for the compiler. So I would like to have only the compiler window make a sound when it closes. Would this be easy for one of you to do? I don't know anything about writing scripts.
I can set Windows 7 to sound when "any" window closes, and this works, but it keeps sounding for all the other things I am opening and closing while I wait for the compiler. So I would like to have only the compiler window make a sound when it closes. Would this be easy for one of you to do? I don't know anything about writing scripts.