HI,

   Touching base again in this regard. Are there any samples for reference for 
the below? That is, able to somehow "invoke" out-of-the-box display plug-in and 
do a custom action as well, such as Prowl apparently allows to do?

Also, one more question. It looks like a new instance of display plug-in is 
created each time a notification needs to be shown? Is that correct? 

Thanks in advance and regards


________________________________
 From: Navin Mishra <[email protected]>
To: "[email protected]" <[email protected]> 
Sent: Monday, December 5, 2011 9:47 AM
Subject: Re: [growl-discuss] Re: Newbie: Hooking into Growl notification sent 
by an application
 

Thanks Daniel for response...it was very helpful. Looking at the prowl 
documentation(https://www.prowlapp.com/installation.php), it looks like it 
allows to indeed reuse the Growl display style like Smoke. Is there then a way 
then to delegate that in manner? Or one must re-implement or "mimic" the 
"Smoke" display and, if so, can it safely be done by looking at the source?

Thanks again and regards


________________________________
 From: Daniel Siemer <[email protected]>
To: Growl Discuss <[email protected]> 
Sent: Monday, December 5, 2011 4:52 AM
Subject: [growl-discuss] Re: Newbie: Hooking into Growl notification sent by an 
application
 
What you want to do is certainly possible, plugins like Prowl and
Boxcar already do similar things.  However, multiple actions per
notification are not presently supported directly, so one cannot
easily setup something to use both your plugin, and say, smoke (Prowl
and Boxcar both presently mimic our code for sending to a visual
display, and access other internals to do this).  This is something we
are working to improve in the future, with the segregation of visual
display plugins (smoke, bezel, etc), and action plugins (sms, Prowl,
Boxcar, etc), so that plugin authors don't have to find ways around
this limitation, and users can have more flexibility.

As for documentation, well, it is admittedly a bit thin.  All of our
Cocoa plugins have their source available in the same repo as
Growl.app at http://code.google.com/p/growl

On Dec 4, 11:41 am, Navin <[email protected]> wrote:
> Correct. Thanks!
>
> On Dec 4, 2011, at 8:04 AM, Chris Forsythe <[email protected]> wrote:
>
>
>
>
>
>
>
> > So to summarize, you want to be able to use Growl as a data source, and to 
> > be able to parse the contents of your notifications right?
>
> > On Dec 4, 2011, at 9:17 AM, Navin Mishra <[email protected]> wrote:
>
> >> Thanks for response Chris. My goal is to execute a custom business 
> >> application logic whenever a growl notification is shown by a particular 
> >> application. Say, for instance, mail application notifies about a new mail 
> >> and "Smoke" display Growl plug-in shows the
 notification. I want to hook into that notification, get the notification text 
and do a Google search. Referring the sample display plugin, I can do all that 
but it it shows its own UI which I don't want; I want to do my custom action 
but delegate to the "default" or a named Growl display plug-in(say "Smoke") for 
the purpose of showing the notification. Is it possible?
>
> >> If not, is it possible to have a non-UI Growl plug-in that can watch for 
> >> all the notifications sent by all applications and do a custom action?
>
> >> Thanks again and regards
>
> >> Navin
>
> >> From: Chris Forsythe <[email protected]>
> >> To: [email protected]
> >> Sent: Saturday, December 3, 2011
 6:24 PM
> >> Subject: Re: [growl-discuss] Newbie: Hooking into Growl notification sent 
> >> by an application
>
> >> Hi Navin,
>
> >> Can you explain what your goal here is? I've read the question since you 
> >> sent it and as of yet I can't wrap my head around what you're trying to 
> >> accomplish.
>
> >> --
> >> Chris Forsythe
>
> >> On Thursday, December 1, 2011 at 4:55 PM, NM wrote:
> >>> Hi,
>
> >>> I need to parse the growl notification text sent by an application
> >>> and use a web service. Ideally I need to hook into the notification
> >>> text as seen by whatever display plug-in that is set as the target and
> >>> just do my custom action. Is it possible at all? Or, if I must write a
> >>> Growl display plug-in and set it explicitly as the target for that
>
 >>> application's notification, is it possible to still defer the display
> >>> of the notification UI to the "default" display plug-in? Or the
> >>> display plug-on must show its own UI and it can't chain into another
> >>> Display plug-in?
>
> >>> Also, is there any documentation on the Growl plug-in API? All I could
> >>> find was the source of the Sample display plug-in.
>
> >>> Thanks in advance and regards
>
> >>> Navin
>
> >>> --
> >>> 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 
> >>> athttp://groups.google.com/group/growldiscuss?hl=en.
>
> >> --
> >> 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 
> >> athttp://groups.google.com/group/growldiscuss?hl=en.
>
> >> --
> >> 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 
> >> athttp://groups.google.com/group/growldiscuss?hl=en.
> > --
> > 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 
> > athttp://groups.google.com/group/growldiscuss?hl=en.

-- 
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.

-- 
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.

Reply via email to