Hello all:
I 'd like to ask a question that how to eliminate the { } from a string.
For example,
a string like { how are you }
I'd like the result like as following
how are you
I tried the command like
set string " { how are you } "
set data [ split $string "{" ]
set...
Hello all:
In my application, I read a .txt and write to another .txt file.
But I 'd like to do some change for my application.
The first one is that I want bring out a dialog box
for save file instead of the default .txt name. I tried to use the command of
"set $thefile [tk_getSaveFile]...
Hello all:
In my application, I'd like to add a special condition to my
file application that if we load and save a special file which is "mylibrary.txt"(just do special thing for this file), I will do something special for it, If I load or save the rest of file, they just do the...
Hello all:
Thanks for you come to my question, I decide to give up this problem, I think it is not very good idea for my application.
Thanks
rgds
stewang
Sorry, I make you confuse.
My question is how to search a file If I don't known which directory the file is belong to.
For example, if I try to looke for the file of " test.tk " , but I don't where they are,or I am not sure I have this file or not, then I go to the function of search...
Hell all:
In my application, I'd like my menu items of "open" and "save" from the menu of file to have lightgrey colour, but after a new window pop up which from the menu item of "newwindow" under the menu of "window", then they will change to dark colour...
Hello all:
I'd like to append a string to a filename when I save a file. For example, I want to save a file of test.tk to another directory, and I give a new name for the old file which calls newtest.tk. After I save the file, I want to the new file has a string append it, format like...
Hello all:
In my application, I'd like to go to my desire directory when I click on different menu item, For example, If I click on the favorite of the menu item, I will go to "/home/stewang/Favourite ", for type of music will go to the path of the...
Hello all:
I try to load mutiple file name from a folder to a listbox, and save mutiple file name from list box to a directory,
But I failed for that, I trid to use foreach,and a option -mutiple for getOpenFile and getSaveFile, but it does nothing.
Could anyone help me please.
Thanks
rgds...
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.