Code by Kevin

About
Code by Kevin, Programming, code, business, and other pursuits

Your Host
Kevin Walzer, software developer.



Home

Subscribe to RSS Feed
Get a syndicated feed of my weblog.


Archives
2014
2013
2012
2011
2010
2009
2008
2007
2006

Categories
Business
Software
General

September 2014
Sun Mon Tue Wed Thu Fri Sat
 
       

Privacy Policy

Site design: Skeleton

 

Sun, 26 Feb 2012

TclGrowl

I've released TclGrowl, an updated version of my MacGrowl Tcl library that provides a Tcl interface to the Growl notification system.

I've written previously about recent changes in Growl that broke Growl support in my applications--and many other applications as well. Because of other demands on my time, I have not been able to seriously review options for Growl support from Tcl. One options, developing an entire Tcl implementation of Growl's network protocol, was unappealing from a time and complexity standpoint. Just over the past few weeks I settled on a private solution for my own applications involving the "growlnotify" command-line tool, but this was less desirable as a general-purpose approach because it required compiling a specific binary.

Happily, I recalled a version of my older, AppleScript-and-Tcl-based MacGrowl package created by Steve Landers of Digital Smarties for use in the TkChat application. Steve's version was more compact than mind and worked within a wrapped-up Tcl/Tk application binary.

Coupling Steve's version with some modifications that the Growl team made to their AppleScript API to work with all versions of Growl, I was able to bring the TclGrowl package to a point where it worked with the new version of Growl. Testing it with the TkChat application, it works like a charm.

As a result, I'm ready to release the tclgrowl package as a supported Tcl library. It can be downloaded here: http://www.codebykevin.com/opensource/tclgrowl.zip. Thanks to Steve Landers for his contribution, and hope others find this useful.

[/software] permanent link