#I read through the tabnotebook man page but for some #reason can not get it to work.
while { [ .tnb select ] == "page 3" } {
# while page 3 is selected do something
}
# What the corect syntax fo [.tnb select] command to #return the index of selected page.
Thanks,
Nick
marsd,
Many thanks for you help and patience.
Here is the reason(below the ---- line). I do have an alternative but this would be great for my application. You gave me a good start and if and when I have a working proc I will post it back.
Thaks again.
-nick...
Is there any standard procedure or other proc to convert long names returned by "file join" operation eg.
"c:/this is test/tt ab/*.gif"
to short names ( "c:/this~1/tt~1" ; may not be righ) that can be used in 8.3 to do the folloing.
set ok [dir $short_dir_name]...
Thanks, Now the next question is how to convert a file name to short names for 8.3 stupid rule. I am not a windos user.
The dir name may have long names and spaces. e.g.
c:/fdsdafd sfds/asfdsf/*.gif
Is there a way in Tcl to convert this string to short names. eg. the middel line in the...
At the compile time I want to create a list of image files and can not use glob as the image files are also gets wraped in the execuatable.
This works on UNIX"
set imageList [list ‘echo images/*.gif‘]
What is the equivalent of this in Windows? How can I use exec dir [ file join ..... ] or...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.