From: Daniel A. S. <st...@ic...> - 2004-01-21 00:03:45
|
Brian, On Wednesday, Jan 21, 2004, at 08:41 Australia/Sydney, Brian H. Toby wrote: > I have figured out how to do all this using the Rez to define the > associated app and for that matter, use Rez and SetFile to set an icon > as well, but this is a less than an elegant solution and not everyone > has the Development tools installed. I would try using the resource Tcl > command, but that does not appear in the X11 port that Fink installed > for me. does the binary for tclResource help? http://tcltkaqua.sourceforge.net/8.4.5b1/tar/TclResource-1.1.tar.gz this provides the [resource] command from OS9 tcl. You could include this with your tcl script, it's only small tcl 8.5 has support for HFS+ file attributes, c.f. http://www.tcl.tk/cgi-bin/tct/tip/118.html Cheers, Daniel -- ** Daniel A. Steffen ** "And now for something completely ** Dept. of Mathematics ** different" Monty Python ** Macquarie University ** <mailto:st...@ma...> ** NSW 2109 Australia ** <http://www.maths.mq.edu.au/~steffen/> |