How do I run Tcl/Tk scripts by double-clicking on Windows/Mac?
For Windows95/NT, the installation should associate .tcl to launch wish. However, if this is not done properly, you can do it yourself by going to Explorer->View->Options->File Types and creating a file type to associate to .tcl that has the open action as “C:\Program Files\Tcl\bin\wish83.exe” “%1” %* (or whereever you chose to have wish installed). You can optionally create an Edit action as well. Don’t choose notepad as that doesn’t understand Unix text files (which just use a line feed for the end of a line, as opposed to carriage return and line feed on Windows and just carriage return on the Mac. I recommend finding a copy of emacs, but write will do. As for the Mac, it’s a little more complicated. Jim Ingham tells us: There are two things here. One is using scripts in TEXT resources. The other is double-clickable apps.