i have mail.app rule that will make the mail icon bounce in the dock whenever i get any mail.
this works fine since i click on the icon, open mail and read the email.
the problem occurs when mail is the active application. i have to click the mail icon again to stop it from bouncing, even though i am using the program. no big hassle, but still.
i would like to make an applescript along the lines of.
if mail is not the active application
bounce the icon in the dock
end if
else
so if mail is the active app, do nothing. i like applescript but i really need to find some website or book that will help me learn the language.
thank you
.edit.
ok, i have made a script that will check if mail is the frontmost app or not, and i have gotten the ifs and elses in there. but i can not figure out how to make it bounce the icon in the dock.