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

Click here to return to the 'one caveat with sounds' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
one caveat with sounds
Authored by: EricMc on Aug 25, '08 08:22:18AM

When using the idle support in many people experience issues with new mail sounds or sounds triggered from scripts not playing or playing much later than expected.

[ Reply to This | # ]
one caveat with sounds
Authored by: BOlle on Aug 29, '08 03:21:32PM
I have the same sound issue. I think I finally solved it by using a folder action.

What you need: Play Sound. Save it in you Applications folder.

Save the script in ~/Library/Scripts/Folder Action Scripts/ and attach it to your ~/Library/Mail/ folder.

Disclaimer: This is my sixth applescript, it just might set your LP1 on fire.

-- use any sound you like, mine is set to Submarine.aiff

on adding folder items to this_folder after receiving added_items
	set soundFile to "Macintosh HD:System:Library:Sounds:Submarine.aiff"
	tell application "/Applications/Play"
		play soundFile
	end tell
	open added_items
end adding folder items to

[ Reply to This | # ]