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 strongm 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: dcarp
  • Order by date
  1. dcarp

    Help needed to open html file!!!

    Bong, Oops I forgot all about the IE browser. Yes, your suggestion was most helpful. Thank you so much. Actually I had forgotten that I did something similar when programming with Liberty Basic. I would use a similar command structure for opening a Word document with LB code. Much appreciated!!!
  2. dcarp

    How do you launch HTML files with tcl code?

    Apparently, the tcl 'exec' command is reserved for .exe files only. Performing a tcl 'open' command does not launch html files either. (Of course source, wish, tclsh do not know how to interpret html.) Is it possible to launch an HTML file such as 'deskview.html' or 'deskview.htm' from tcl code?
  3. dcarp

    Serial port communication

    Not sure about your exact use, but this works for me: fconfigure $port -mode 19200,n,8,1 -blocking 0 -translation auto -buffering none -handshake xonxoff (Change the baud rate to what you are using.) More code, if needed: This works great with the text widget for a gui capture: proc bkLog {} {...
  4. dcarp

    Need help with TCL scrolledtext function

    Bong, sorry I misunderstood what you trying to convey to me. This suggestion was in from another site and it works great! After each insert of new text into the window, execute the text widget commmand: $textwindow see end or $textwindow see insert This should move the view so the user...
  5. dcarp

    Need help with TCL scrolledtext function

    Thanks Bong for the information. I believe you were referencing the 'seek' command. I called up the man page for the command synopsis: seek channelId offset? origin? Example code: set f [open file.txt] fconfigure.... set data1 [read $f] seek $f -10 end (or seek $f 0 to repeat) set data [read $f...
  6. dcarp

    Need help with TCL scrolledtext function

    I have a working scrolledtext iwidget (TCL extension) which works wonderfully for capturing data through my serial port, COM1 on my PC. Infact, the scrolled data works just like Hyperterm does except for the scrollbar. The scrollbar scrolls up as data streams in, so I have to manually drag the...

Part and Inventory Search

Back
Top