While looking for some unique and funny new email notifications for Mail, I found there were too many to choose just one. I thought it would be nice to dump a bunch of .wav files into a folder and have them randomly play when new messages arrive. Here's how:
[robg adds: One of the queue review team suggests the following as a simpler version of the above script: He points out that you must have a rule to play the sound, or you won't hear anything when the script runs. I have not tested this one myself, nor can I vouch for the legality of any of the sounds that may be posted on the above site (it wouldn't load for me while I was writing up the hint).]
- Place a bunch of .wav (or other supported audio files) in your user's Library/Sounds folder
- Paste the code below into an AppleScript and save it as .scpt file somewhere (~/Library/Scripts is a good place):
- Create a rule in Mail.app that triggers this script for all incoming mail. Add the rule to the top of the rules list. I use it as rule number one in the list.
[robg adds: One of the queue review team suggests the following as a simpler version of the above script: He points out that you must have a rule to play the sound, or you won't hear anything when the script runs. I have not tested this one myself, nor can I vouch for the legality of any of the sounds that may be posted on the above site (it wouldn't load for me while I was writing up the hint).]
•
[11,047 views]

