Compiling (make or build) often takes several seconds or minutes.
I'd like to set up my IDE, RAD Studio XE2, to play a sound when it finishes compiling. Even better if I could set different sounds in case of success or failure in compilation.
To get a beep when you're done building, do this:
RunDll32.exe user32.dll,MessageBeep
It uses rundll32.exe to directly call MessageBeep in user32.dll. It's light-weight, and it's pretty sure that it'll work on your system.
If you want a fancy mp3 you could call winamp, or you can hack something together yourself.
If you're feeling more adventurous, you can let your pc talk to you when it's done building. You don't have to install anything for it; your pc already has SAPI.
The example in the screenshot tells you Done compiling
when you're done. You can have let it tell you the build time, the output filename, etc.
Have fun! :-)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With