I am trying to create a procedure that searches the PC to find out what Drives [logical] exist on a system.
This is in a windows environment.
The reason is to be able to search for a specific directory that should exist on the PC.
So using :
set volumes [file volume]
regsub {\s} $volumes {}...
Recently I was attempting to create a frame of buttons created with jpeg images that could be used to invoke different pages into a main viewer frame. The problem was as a button was clicked and the page loaded the frame holding the buttons dissappeared as the new page was loaded.
The solution...
I am developing a web that is split into 2 frames in IE 5.0. The top frame holds a set of navigation buttons that will load the relevant page into the second frame.
The buttons are src jpg images and the code uses the onclick function to load the page.
The problem is after initial loading of the...
This tip is passed on from attempting to solve a problem in formatting a string of characters by eliminating control and field key characters.
Using [string map] function enables one to translate a range of odd characters in a string used to separate fields.
string map {ª _ ô _ ² _ Ø _ > _}...
I am in the process of writing a Tcl script that processes lines from a file and extracts specific information to format in a readable manner.
Some of the files contain hidden control characters or a single quote mark or a single brace. These need to be ignored so the string can be assigned to a...
How do I get one tcl program to invoke a second tcl program passing the the program some variable values generated in the first.
This might seem a strange thing to do.
But the intent is to be able to write testdriver scripts (the first program) to check the performance of the second program...
I need to find out how to pass a set of attribute values
collected through a set of wizard frames and text boxes to another tcl program that will create a text file with these values organised into a readable format. The file is then to be checked in to eMatrix assigned to the newly created...
I am relatively new to Tcl/Tk starting with tcl 8.2 and wish.
I have recently down loaded Tcl/Tk 8.4.1 and proceeded to do a build from the source files, after modifiying the buildall.vc scripts to define the install directory and tcl directory.
The Tcl build was successful with no errors and...
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.