Quite a few apps now, including web apps, can deliver standard Windows notificat...
Jamie Teh @jcsteh@aus.social
Quite a few apps now, including web apps, can deliver standard Windows notifications, but many of them don't allow you to configure custom sounds for specific notifications; e.g. messages from specific people. During long work meetings or when I'm deeply focused, it's either not feasible for me to check each notification or the notifications all just become noise that I end up ignoring. I got sick of missing the doorbell or important messages from my wife in those situations.
So I wrote a hacky #NVDASR global plugin to search for regular expressions in incoming notifications and play the sound associated with the matching expression. It's configured with a simple tab separated notificationSounds.conf file in the NVDA configuration directory. For example:
doorbell pressed C:\sounds\doorbell.wav
If anyone's interested, here's the plugin. I can't be bothered developing a GUI, polishing it and distributing it as a proper add-on. You'll need to put this in the developer scratchpad. If you don't know what that is, probably best to ignore this.
https://gist.githubusercontent.com/jcsteh/803c16cf8d46e3bddda77c17eddac7c0/raw/cf73b66bc1695a4a1727d9315400edefbbe8c84d/notificationSounds.py