Growl

| | Comments (0)
Growl is a notification system for Mac OS X. Pretty cool. You can call it from Carbon or Cocoa or AppleScript, and it comes with Perl and Python and Tcl bindings.

The problem is, the Perl bindings rely on Foundation.pm, which allows Perl programs to speak Cocoa, but Foundation.pm is only available if you are using the same major version and architecture of perl as ships with perl.

After trying for 20 minutes to find out how I could possibly do this using Cocoa or Carbon, I just tried this:

[pudge@bourque pudge]$ sudo gluemac /Library/PreferencePanes/Growl.prefPane/Contents/R esources/GrowlHelperApp.app/
What is the glue name? [GrowlHelperApp]:
Created and installed App glue for GrowlHelperApp.app (GrowlHelperApp)
[pudge@bourque pudge]$ glue GrowlHelperApp '$g->notify(description => "la la la", with_title => "yo!")'

Of course, it worked. use.perl.org

Leave a comment

<pudge/*> (pronounced "PudgeGlob") is thousands of posts over many years by Pudge.

"It is the common fate of the indolent to see their rights become a prey to the active. The condition upon which God hath given liberty to man is eternal vigilance; which condition if he break, servitude is at once the consequence of his crime and the punishment of his guilt."

About this Entry

This page contains a single entry by pudge published on November 10, 2004 4:11 PM.

WA Governor Race was the previous entry in this site.

Christianity and Charity is the next entry in this site.

Find recent content on the main index or look in the archives to find all content.