Turn OFF the sound for incoming mail in Prefs - then only the Rule sound will play
The link I posted has sample script for MS Entourage - here is how I would modify it for Apple Mail
- download Play Sound, a really simple sound player for Mac OS X. After downloading this, install it by double-clicking on the disk image and dragging Play Sound to your Applications folder.
- create a folder in Applications named "MailSounds" (this should make it appear directly below the Mail App itself)
- copy sounds to it - AIFF or MP3 that you want to play - name them whatever is convenient for you
- PapaBear.mp3
- MamaBear.mp3
- Goldilocks.mp3
- open up Script Editor (in Applications/AppleScript) and paste the following script:
set soundAlias to "Macintosh HD:Applications:MailSounds:PapaBear.mp3" as aliastell application "Play Sound"
play (soundAlias as alias)
end tell
- Modify the sample script to use the 3 filenames and Save AS each to MailSounds folder with the filename of the soundfile as the script filename (this will show the associated files together in the folder)
- In Mail > Rules - choose "Run AppleScript" from the Action pop-up menu for ONE email account. Choose your script and click OK to save the rule
- TEST
- Repeat Rule making for each family member.
*SYNTAX is VERY important - a single character or space error will throw a wrench in the works
If you run into trouble, take screenshots of your rule dialog - Command + SHIFT > 4 > SPACEBAR (cursor will turn into a camera) and post here