From: Jon G. <jg...@hi...> - 2002-03-06 03:38:44
|
At 6:53 PM -0800 3/5/02, macnerd wrote: >There's a lot of synergy for AppleScript, plus there are a lot of complex >scripts out there. It would be nice have control both ways, AppleScripter's >that want a way to control tcl/tk, and ticklers that want to reach out and >touch someone. Yes. This is what Wish's "Do Script", and the TclApplescript and TclAE packages are designed to provide. There are some kinks to resolve on OS X (of course, I'm not aware of a solitary aspect of OS X where that statement isn't true), but full, two-way AppleEvent communications between Tcl apps and the rest of the world is possible right now. If you're calling Tcl from AppleScript, and you're comfortable writing Tcl scripts, then "Do Script" is your best bet. If you're calling the rest of the world from Tcl and you know AppleScript, then TclApplescript is the ticket. If you want to talk both ways and either need or want full access to the AppleEvent Manager, then TclAE is the thing. I'm biased, but TclAE is the most powerful option (and also the most complicated). You can obtain an outdated version of TclAE from <http://www.his.com/~jguyer/Alpha/TclAE%20Help/> (this won't work on OS X). We've just started a TclAE project on SourceForge and should be getting a more current (Carbon compatible) version uploaded in short order. Keep an eye on <http://sourceforge.net/projects/tclae/>. -- Jonathan E. Guyer <http://www.his.com/jguyer/> |