Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

Kirk to Enterprise -- beam down yeoman Rand and a six-pack.


devel / comp.lang.tcl / Re: Tcl Wish shell

SubjectAuthor
* Tcl Wish shellsnosniv
`* Tcl Wish shellfr
 `- Tcl Wish shellsnosniv

1
Tcl Wish shell

<bf0c9ab7-a2b6-4c51-8edc-bee23f7d9ecan@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10047&group=comp.lang.tcl#10047

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:620a:1988:b0:6fa:4da:5b22 with SMTP id bm8-20020a05620a198800b006fa04da5b22mr30235319qkb.306.1667651793070;
Sat, 05 Nov 2022 05:36:33 -0700 (PDT)
X-Received: by 2002:ac8:594d:0:b0:39c:ebcb:913b with SMTP id
13-20020ac8594d000000b0039cebcb913bmr32671461qtz.501.1667651792850; Sat, 05
Nov 2022 05:36:32 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Sat, 5 Nov 2022 05:36:32 -0700 (PDT)
Injection-Info: google-groups.googlegroups.com; posting-host=82.1.128.13; posting-account=gstOigoAAADV9pmzZL58qQ436SKV3SBu
NNTP-Posting-Host: 82.1.128.13
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bf0c9ab7-a2b6-4c51-8edc-bee23f7d9ecan@googlegroups.com>
Subject: Tcl Wish shell
From: nivpars...@gmail.com (snosniv)
Injection-Date: Sat, 05 Nov 2022 12:36:33 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1322
 by: snosniv - Sat, 5 Nov 2022 12:36 UTC

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.

Re: Tcl Wish shell

<c42789c3-b9b3-425e-8313-1f548b401fe3n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10048&group=comp.lang.tcl#10048

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:620a:2601:b0:6bc:70bb:c56b with SMTP id z1-20020a05620a260100b006bc70bbc56bmr30018576qko.416.1667652469568;
Sat, 05 Nov 2022 05:47:49 -0700 (PDT)
X-Received: by 2002:a37:c4e:0:b0:6fa:c1c:6fc0 with SMTP id 75-20020a370c4e000000b006fa0c1c6fc0mr29722204qkm.501.1667652469391;
Sat, 05 Nov 2022 05:47:49 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Sat, 5 Nov 2022 05:47:49 -0700 (PDT)
In-Reply-To: <bf0c9ab7-a2b6-4c51-8edc-bee23f7d9ecan@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=80.187.99.50; posting-account=aaGzBAoAAADO0Qsz99jkqns7nnqZHQxI
NNTP-Posting-Host: 80.187.99.50
References: <bf0c9ab7-a2b6-4c51-8edc-bee23f7d9ecan@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c42789c3-b9b3-425e-8313-1f548b401fe3n@googlegroups.com>
Subject: Re: Tcl Wish shell
From: zaw...@gmail.com (fr)
Injection-Date: Sat, 05 Nov 2022 12:47:49 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1657
 by: fr - Sat, 5 Nov 2022 12:47 UTC

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"

Re: Tcl Wish shell

<d098c311-4840-4370-b4fb-559aff83ea49n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=10049&group=comp.lang.tcl#10049

  copy link   Newsgroups: comp.lang.tcl
X-Received: by 2002:a05:620a:1792:b0:6fa:8590:fe69 with SMTP id ay18-20020a05620a179200b006fa8590fe69mr7996988qkb.759.1667653679995;
Sat, 05 Nov 2022 06:07:59 -0700 (PDT)
X-Received: by 2002:a05:6214:c4f:b0:4bb:9343:b7b5 with SMTP id
r15-20020a0562140c4f00b004bb9343b7b5mr36448440qvj.31.1667653679835; Sat, 05
Nov 2022 06:07:59 -0700 (PDT)
Path: i2pn2.org!i2pn.org!usenet.blueworldhosting.com!feed1.usenet.blueworldhosting.com!peer01.iad!feed-me.highwinds-media.com!news.highwinds-media.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.tcl
Date: Sat, 5 Nov 2022 06:07:59 -0700 (PDT)
In-Reply-To: <c42789c3-b9b3-425e-8313-1f548b401fe3n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=82.1.128.13; posting-account=gstOigoAAADV9pmzZL58qQ436SKV3SBu
NNTP-Posting-Host: 82.1.128.13
References: <bf0c9ab7-a2b6-4c51-8edc-bee23f7d9ecan@googlegroups.com> <c42789c3-b9b3-425e-8313-1f548b401fe3n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d098c311-4840-4370-b4fb-559aff83ea49n@googlegroups.com>
Subject: Re: Tcl Wish shell
From: nivpars...@gmail.com (snosniv)
Injection-Date: Sat, 05 Nov 2022 13:07:59 +0000
Content-Type: text/plain; charset="UTF-8"
X-Received-Bytes: 1908
 by: snosniv - Sat, 5 Nov 2022 13:07 UTC

On Saturday, 5 November 2022 at 12:47:51 UTC, fr wrote:
> 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"

Ah, that's what it was, I thought I'd added the package, more concentration needed!
Thanks fr.

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor