On Dec 04, 2008, at 07:46:01, Ed wrote:
> Is there any simple sample app, that does nothing but opening a  
> growl notification on button click or something like that?

Yes:

        http://boredzo.org/stuph/Simplest_Notifier_Evar-1.0.zip
        https://www.bitbucket.org/boredzo/simplest-notifier-evar/ (source)

It's written in Cocoa.

> I am looking for a way to implement growl notifications in a  
> commandline app (corefoundation tool).

That's easy to do. You'll use the Carbon Growl API, which I designed  
to be very similar to the Cocoa version.

We have a tutorial on our website:

<http://growl.info/documentation/developer/implementing-growl.php?lang=carbon 
 >

We wrote it for a GUI app, since that's the most common case, but the  
procedure is the same for a command-line app, with a couple of  
differences:

1. You will need to copy the framework source (GrowlApplicationBridge- 
Carbon.{h,c}) into your source folder, since you're not making a  
bundle to copy the framework into.

> currently i am not even sure what to put into my info.plist or the  
> special growl plist.

2. You won't have either of those, since you're not making a bundle to  
put them into.

You'll have to use a Growl delegate, and create your entire  
registration dictionary programmatically in CF code.


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