Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: hija
  • Order by date
  1. hija

    Can Tcl determine between a CDROM and Hardrive?

    marsd, thanks marsd this works fine in fact I did not need the 'file exists' bit I just need to be able to make the proc skip over looking at the cdrom, as the directory in question will always reside on a hardrive but i could not guaruntee that it will always be on the HOME or SystemDrive hence...
  2. hija

    Can Tcl determine between a CDROM and Hardrive?

    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 {}...
  3. hija

    Frame refresh for button clicks

    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...
  4. hija

    Frames updating with javascript

    Thanks guys, your points were most welcome and I have now solved the problem. It turned out to be (partially) a question of syntax. Below is the code line used. <a href=&quot;#&quot; onClick=&quot;parent.Page_Viewer.location='SDMC_Home.html'; self.location='SDMC_menu.html'&quot; ><img...
  5. hija

    Frames updating with javascript

    ne4x4 Yep, the sample code you show is exactly as I have it currently structured. The Menu frame sits along the top taking up 10% of the view area the remainder is a frame called page_viewer. The switching between these pages works correctly, its just that in the process the menu frame...
  6. hija

    Frames updating with javascript

    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...
  7. hija

    Control characters in a string of text.

    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 {ª _ ô _ ² _ Ø _ > _}...
  8. hija

    Control characters in a string

    Solved the problem by using fconfigure 'fileID' -eofchar { } this now allows the complete string to be taken for processing. Thanks marsd for pointing me in the right direction. hija
  9. hija

    Control characters in a string

    Thanks for the hint marsd, it looks as if this is it, now I need a way of overiding it, Im going to try the string map function to change it in advance of processing hija
  10. hija

    Control characters in a string

    Additional Information... I have done some more investigation into this control character and it appears to be a End of Medium 'EM' ASCII Char 25(decimal), it is this one I cannot get Tcl to ignore in the string being read from a file. hija
  11. hija

    Control characters in a string

    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...
  12. hija

    Get one tcl script to to kick another passing it arguments

    Thanks Bob I'll give it a try hija
  13. hija

    Get one tcl script to to kick another passing it arguments

    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...
  14. hija

    eMatrix Wizard programming with tcl

    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...
  15. hija

    tcl

    I tried this bit of code in WISH and got <li>n<li> where n is a number 1 gave the 'value'argument. Is this what you expect? I realise this is to modify or create web content can you provide a sample output of what your getting?
  16. hija

    Tcl/Tk 8.4 Installation Error message

    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...

Part and Inventory Search

Back
Top