Home > Archive > Tcl > June 2007 > Hiding wrapped script output window ?
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Hiding wrapped script output window ?
|
|
| Carl Jenkins 2007-06-10, 10:08 pm |
|
Hello all,
I have a Tcl/tk script written and am looking
to deploy on the Windows platform right now
(Unix, Mac later on). I would like to simply
make available to the users a single "compiled"
.exe containing everything needed to run it.
Can someone point me to a Tcl script or a
Windows .exe that can do this along the
lines of Activestate's "tclapp". I tried
"xmktclapp" but the output cmd window shows
up along with the Tcl/tk app, which is not
acceptable.
I would like the C/C++ integration of "xmktclapp"
but cannot use it as long as that cmd window
keeps showing.
Thaks for any assists,
Carl
| |
| Gerald W. Lester 2007-06-10, 10:08 pm |
| Carl Jenkins wrote:
> Hello all,
>
> I have a Tcl/tk script written and am looking
> to deploy on the Windows platform right now
> (Unix, Mac later on). I would like to simply
> make available to the users a single "compiled"
> .exe containing everything needed to run it.
> Can someone point me to a Tcl script or a
> Windows .exe that can do this along the
> lines of Activestate's "tclapp". I tried
> "xmktclapp" but the output cmd window shows
> up along with the Tcl/tk app, which is not
> acceptable.
> I would like the C/C++ integration of "xmktclapp"
> but cannot use it as long as that cmd window
> keeps showing.
http://wiki.tcl.tk/Starpack
--
+--------------------------------+---------------------------------------+
| Gerald W. Lester |
|"The man who fights for his ideals is the man who is alive." - Cervantes|
+------------------------------------------------------------------------+
| |
| slebetman@yahoo.com 2007-06-10, 10:08 pm |
| On Jun 11, 12:52 am, c...@jenkins.com (Carl Jenkins) wrote:
> Hello all,
>
> I have a Tcl/tk script written and am looking
> to deploy on the Windows platform right now
> (Unix, Mac later on). I would like to simply
> make available to the users a single "compiled"
> .exe containing everything needed to run it.
> Can someone point me to a Tcl script or a
> Windows .exe that can do this along the
> lines of Activestate's "tclapp". I tried
> "xmktclapp" but the output cmd window shows
> up along with the Tcl/tk app, which is not
> acceptable.
> I would like the C/C++ integration of "xmktclapp"
> but cannot use it as long as that cmd window
> keeps showing.
>
> Thaks for any assists,
>
> Carl
Have you tried freewrap (http://freewrap.sourceforge.net)?
Whatever method you choose, use wish instead of tclsh as your base
interpreter if you don't want the cmd.exe window to show on windows.
If you don't have a GUI fine, still use wish and do [wm withdraw .] at
the start of your script (and an additional [console hide] if
necessary).
Don't forget to [exit] at the end, since wish enters the event loop by
default instead of exiting.
| |
| Carl Jenkins 2007-06-10, 10:08 pm |
|
Thanks,
I tried freewrap this morning just to try
it out but I don't believe it supports
integration of scirpts and C/C++ coding.
I'm fairly new to Tcl/tk and so thought I
might be missing some other (free) wrapper
like "xmktclapp" wherein I could use my
IDE (MS-VS) as the editor at least for Tcl
while developing C/C++ routines to wrap
with the scripts. I'll give your script
mods a try.
Thanks again,
Carl
"slebetman@yahoo.com" <slebetman@gmail.com> wrote:
>
|
|
|
|
|