On 8/4/13 8:31 PM +0900, Philip Chee wrote:
On 04/08/2013 18:41, Trane Francks wrote:
On 8/4/13 2:33 PM +0900, Philip Chee wrote:

I haven't looked into this in detail but in principle you could
implement your own nsIAlertsService in javascript and make yours
override the built in service.

Hmmmmm. That's an interesting idea. It seems a bit more complex than I'd
hoped, though, because the extension itself would need to be in charge
of any audio notifications. This particular extension uses growlnotify
(a CLI tool) to talk with Growl. As such, it's a one-trick pony in terms

Are you sure it uses growlnotify? I'm referring to:
https://addons.mozilla.org/en-US/thunderbird/addon/growlgntp-for-thunderbird/
Which uses the GNTP protocol.

I started with Mitar's "Growl New Message Notification 0.4.2":

https://addons.mozilla.org/en-us/thunderbird/addon/growl-new-message-notification/

Since it claims compatibility with TB from 1.5-to-23.0, it seems like a reasonable base from which to jump. It talks to Growl via growlnotify, included in Growl 1.2.2 (the most current Growl version on Snow Leopard).

This extension for Firefox from the same author does the same.
https://addons.mozilla.org/en-US/firefox/addon/growlgntp/

There is a (much older) growl extension which just spawns a CLI tool to
send growl notifications, but that's long obsolete.

The GNTP stuff might be interesting to look at from the perspective of how to trigger on various flags, but the mechanism to talk to Growl 1.2.2 is going to either be by the now obsolete protocols or via growlnotify. I'll leave it up to others to work with implementing GNTP-based solutions as those will benefit SM users on Lion. GNTP won't see the light of day in Growl 1.2.2 unless somebody decides to check out the Growl source and shoehorn the protocol into a build.

Cheers,

trane
--
/////////////////////////////////////////////////////////
// Trane Francks    [email protected]    Tokyo, Japan
// Practice random kindness and senseless acts of beauty.
_______________________________________________
support-seamonkey mailing list
[email protected]
https://lists.mozilla.org/listinfo/support-seamonkey

Reply via email to