The code in tkMacOSXHLEvents.c hasn't been modernized for Mac OS X and changes in the AppleScript/AppleEvent areas. This package includes replacement code which optionally uses new namespaced handler procs. It will fall through to the old procs and their respective C code handlers if the new procs are not found. It supplies an example application with an AppMain.tcl that will branch for new/old proc handlers and example AppleScripts illustrating the new handler calls. The new code allows Tk application developers to create custom named commands which take an argument list as the direct parameter to the AppleScript command.
Included are instructions showing how to generate the aete resource from the new style sdef XML files and where to place them in the distribution Wish.app.
For Tk application developers, there are also instructions for how enable their application to use customized handlers.
Updated code, test app, instructions, and examples