some pointers for TclAE:
What: TclAE Where: http://sourceforge.net/projects/tclae/ http://prdownloads.sourceforge.net/tclae/ Description: Tcl extension to enable Macintosh applications to use AppleEvents to communicate with other Macintosh applications. Currently at version 2.0. Updated: 08/2004 Contact: See web site
Note: The package name is tclAE (lower case t, upper case AE).
See also MacOS and TclAppleScript.
[L1 ] is a book chapter introducing AppleEvents. The book rather targets Ruby, but at least that chapter is just as relevant if using TclAE.