On Saturday, November 5, 2022 at 1:36:35 PM UTC+1, snosniv wrote:
I have a Tcl script which I run from a batch file (win 10), with just:
tclsh (path)\myfile.tcl
This works fine, but I also have a GUI version of the script so users can enter certain data, but I can't figure out how to open this version into a Wish shell?
Any pointers gratefully received. (Couldn't find anything appropriate with a google search).
Kev P.
either use wish.exe instead of tclsh.exe
or load the gui part in your existing script with "package require Tk"
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)