[GiDlist] How to read the command line into a tcl variable?
Posted: Mon Nov 15, 2010 9:21 pm
Hi
Is there a way to get the data left by the user in the command line at the
bottom of the screen from a tcl script ?
I would like to send a message to the user, such as for example:
GidUtils::SetWarnLine [_ "Enter the diameter ( default = %s )" $diam]
then wait for the user to type something in the command line, and then capture
it in a variable.
Apologies if this has been explained before. I could not find the answer
anywhere else.
Many thanks
Andres
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20101115/706e18e2/attachment.htm
Is there a way to get the data left by the user in the command line at the
bottom of the screen from a tcl script ?
I would like to send a message to the user, such as for example:
GidUtils::SetWarnLine [_ "Enter the diameter ( default = %s )" $diam]
then wait for the user to type something in the command line, and then capture
it in a variable.
Apologies if this has been explained before. I could not find the answer
anywhere else.
Many thanks
Andres
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listas.cimne.upc.edu/pipermail/gidlist/attachments/20101115/706e18e2/attachment.htm