comp.lang.tcl Google Group
create executable from tcl
as an executable with the perl interpreter embedded in the executable.
It is assumed that the PERL INTERPRETER IS NOT INSTALLED on the target
system.I want to create an executable from a simple (I hope!) tcl
program that will display a form to collect configuration data from
I love tcl!!! anyone using wibble or wub for profit website? or most for profit still on naviserver or aolerver?
perl si cmplete headache syntax wise and no friggin interactive loop is total hell for active devlopment and seems liek 1000 time clunkier than tcl
Tcluno compatibility w/ LibreOffice
Over the last few months, we have seen the relentless
disappearance of OpenOffice, with which TclUno was
working like a charm.
Now that LibreOffice has taken over, I'm stuck with
a TclUno package that does not work with LibreOffice.
Arnulf, if you read these lines, what is your feeling about
[text] crash on long lines
displaying long lines in a text widget. At the moment
I only have access to OpenSuse 11.4. Could people try the
short program below, and see if the problem is more general?
----------------- cut here --------------------
pack [text .t -width 80 -height 20 -wrap none -font {courier 11}]
ANN: TclWS Release 2.2.6
[1a9a9f98e9] -- patch to get nsOnChangeOnly feature to work
[a8de49b7c3] -- extensions of non-simple types do not work
This release can be downloaded as a Zip File or as a Tar Ball at
[link].
--
Test if Tk is loaded
How do you test - from within a script - if Tk has been loaded?
Thanks
TM
Tk for project
At any rate, I'd like to use Tk (if possible) for the front end for a
particular project. The basic gist is that I need a screen showing
various graphical "components" and I need to be able to manipulate
these components by dragging them around with the mouse to move them,
Ideas on how to identify attribute nodes in tdom?
little Tcl/Tk script (which'll end up in wiki.tcl.tk, I promise :-)
The idea is to draw a tree on a canvas representing the XML tree
structure (attribute nodes and all) and tag all the nodes with their Tcl
"node address" as returned by tdom (e.g. "domNode0x1eea720").
Scripting languages for desktop apps on OS X: Why not?
suitable for desktop application development, and talk a lot about using
Tcl for app development:
Hope this is illuminating.
--
Kevin Walzer
Code by Kevin
Error: expected version number but got "8.6b2"
8.6b2 is the correct version. It creates /usr/local/lib/tcl8.6 with no
'b' in the directory name, and 'b' is a valid character in a version
number according to generic/tclPkg.c.
Okay, if I enter "source /usr/local/lib/tcl8.6/init.tcl " interactively
args not passed to .tcl script in batch file
XP. When run in win7, the script does not receive the values passed as
parameters.
Net: argc is 0; argv is empty.
Have taken UAC to lowest level. Have changed the properties to enable,
read, write, execute, etc.
All scripts are in c:\program files (x86)\star.
tk_getSaveFile/tk_getOpenFile on Dual Monitors and -x -y Specification
tk_getOpenFile. When I am using dual monitors and I bring up the
tk_getSaveFile/tk_getOpenFile through the Wish console from the
secondary monitor, the tk_getSaveFile/tk_getOpenFile dialog comes up
on my primary monitor. I am specifying the -parent argument as "."
Another Newbie question
Thanks to Eugene for the help in formatting numbers. Now I have another
question....
I have a simple form that contains a text box. I am using the GPIB-Tcl
library to read values from an instrument. My first iteration was to just
read one value from the instrument thus:
set value [eval {gpib read}]
Newbie number format question
I'm dividing one number by another and want the result to have one and
only one place after the decimal. I am currently using 'double(x)' for my
numbers but am gtting many places after the decimal. Any thoughts?
Thnaks!
menu font on Windows XP
Can anyone explain to me the result of this script (tcl/tk 8.5/8.6
on Windows XP):
---
menu .a
puts [.a configure -font]
---
It prints:
-font font Font TkMenuFont {Tahoma 8}
Why current font value is {Tahoma 8}, not TkMenuFont?
WBR, Yaroslav Schekin.
fileevent on socket timeout
I need to open a socket on a machine which may or may not be behind a packet filter. I therefore open with the -async flag to the socket command. I then set up a fileevent waiting for the socket to become readable. When it does I do a [gets] (unless it's [eof]). Fine.
suggestion
0 for an argument of Inf, rather than 1, which is now the case?
--
*********** To reply by e-mail, make w single in address **************
Home
Wiki
Archive Center
Bug Tracker
E-Mail
