From: Jon G. <jg...@hi...> - 2002-03-12 15:29:39
|
At 3:59 PM +0100 3/12/02, Jack Jansen wrote: >For Python there's an extension module that uses AppleEvents to talk >to the MPW tool server and thereby provide functionality to >exec()/system(), through the 'misc'/'dosc' event. You could do >something similar for Tcl, I guess. Sure. Either TclAppleScript <http://tcl.activestate.com/software/mac/AppleScript.html> or TclAE <http://www.his.com/jguyer/Alpha/TclAE%20Help/> can call MPW's misc/dosc event. >This only gives you access to stuff compiled as an MPW tool, not to >general applications, but for general applications it would be >unclear anyway what "output" would mean. Yep, this is the rub. AppleEvents are extraordinarily powerful... between agreeable apps... -- Jonathan E. Guyer <http://www.his.com/jguyer/> |