First of all, I'm impressed by how long this thread has lasted. Originally Douglas asked for 2 things. One was about the ability to set the duration of a notification -- and that's mostly what you've taken up here. The other is about replacing a given notification that is on screen. Let me take this up.
> > There is no such specifically mentioned parameter. > > Mentioned where? It's not mentioned in what I take to be the most authoritative statement of using GAB: http://growl.info/documentation/developer/implementing-growl.php?lang=cocoa (Furthermore, note that the link given in that page's "Other Methods" section to "GrowlApplicationBridge.h." is a dead link) It's not mentioned in the Applescript doc: http://growl.info/documentation/applescript-support.php I see now that is IS in fact in the AppleScript dictionary. I was not aware of it. > You pass the identifier when notifying. One of the GAB methods has an > argument for it, or if you're using a notification dictionary, you'll > set GROWL_NOTIFICATION_IDENTIFIER. > I think this would be of limited use as a fixed parameter for a notification name (as with the dictionary). It would of most use precisely when a single notification can have many different identifiers. To take Douglas' example of OmniGrowl's RSS, the hourly "headline" notification is one defined notification. But through it, an infinite number of unique RSS feeds could be passed to Growl. So for instance, even through the notification names for a BBC and an Reuters feed are both "headlines", we'd only want to replace the BBC one with another BBC one and same with Reuters. So I can see (now) how using the identifier as "BBC" or "Reuters" with the notification name of "headlines" would be the way to go. I just have to see if it actually works now! In the meantime -- i can see the applescript dictionary, but since I'm now using both applescript and cocoa (depending on whether click context is needed) -- can you point me to a document or an example of the GAB cocoa method you mention? Thanks. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
