Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Randomize Apple Mail notification sounds Apps
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:
  1. Place a bunch of .wav (or other supported audio files) in your user's Library/Sounds folder
  2. Paste the code below into an AppleScript and save it as .scpt file somewhere (~/Library/Scripts is a good place):
  3. 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.
As for where to find alert sounds, there are a number of good ones here.

[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).]
    •    
  • Currently 3.00 / 5
  You rated: 4 / 5 (3 votes cast)
 
[10,954 views]  

Randomize Apple Mail notification sounds | 3 comments | Create New Account
Click here to return to the 'Randomize Apple Mail notification sounds' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Randomize Apple Mail notification sounds
Authored by: TheCrunge on Nov 15, '07 08:29:16AM

As the OP, I also thought that you also had to have a rule to play the sound, but there seems to be times when Mail.app just refuses or forgets to play notifications, and creating a rule that plays the sound will often cause multiple (and different) notifications to be played when mail comes in. Even without this script, Mail.app (in Leopard anyway) doesn't always seem to play the default notification.



[ Reply to This | # ]
Randomize Apple Mail notification sounds
Authored by: Pedro Estarque on Nov 15, '07 05:11:28PM
Yes, I use sound notifications a lot and it's intermittent at best in Leopard.
Sometimes, sound is only played when I send an email and every sound that should have been played just plays at once, as if it was stuck or something.

[ Reply to This | # ]
The opposite?
Authored by: Anonymous on Nov 15, '07 10:50:15PM

Is there a way to disable the "no mail" sound without going in the Mail.app folder and deleting them?
There's a drop-down option to stop the new-mail sound, but not the utterly-useless "bloop" noise when you click Get Mail but there's no messages..?



[ Reply to This | # ]