I have a Tcl script which I run from a batch file (win 10), with just:either use wish.exe instead of tclsh.exe
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.
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"
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 34:05:38 |
Calls: | 6,669 |
Calls today: | 1 |
Files: | 12,216 |
Messages: | 5,338,371 |