Ok, it looks as if that was a fluke. Other notifications from this script work fine.
I had to kill growl and restart it in order to clear the notification, however. /raj On Nov 8, 12:06 pm, raj <[email protected]> wrote: > I'm running Growl 1.3.1 (just purchased from App Store today) under > MacOS 10.7.2. For most notifications, such as Twitter, clicking on > them makes them disappear just fine. I'm also using Mail notification > script, however, and when it triggers a Growl event notice, clicking > on that notice, or even the "X" in the corner, does nothing. Here's > the script: > > (* > Display a notification of incoming email in Growl. To use this > script, move this script to a known location (~/Library/Scripts/Mail > Scripts, for example) and create a rule in Mail.app that invokes this > script when a new message is received. > *) > using terms from application "Mail" > on perform mail action with messages selectedMsgs > tell application "Mail" > set appName to "Mail Notification Script" > set notificationName to "Mail Notification" > set notifs to {"iCal Notification", notificationName} > tell application "Growl" > register as application appName all > notifications notifs default > notifications notifs icon of application "Mail" > end tell > > repeat with msg in selectedMsgs > if not junk mail status of msg then > set theSubject to subject of msg > set theSender to extract name from > sender of msg > set theAccount to name of account of > mailbox of msg > tell application "Growl" > notify with name > notificationName application name appName title > "Incoming Mail " & theAccount description theSender & ": " & > theSubject > end tell > end if > end repeat > end tell > end perform mail action with messages > end using terms from -- You received this message because you are subscribed to the Google Groups "Growl Discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/growldiscuss?hl=en.
