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 SkipVought 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: *

  1. charmdream

    How to create the image file(jpg) for canvas?

    Hi, Anyone knows how to output the canvas using image format(eg. jpg)? Thanks a lot.
  2. charmdream

    "after" command doesnot work in tclsh

    Hi marsd, I read your post and knew the difference between what you tried and what I tried. Please try the command: after 1000 {puts Hi} NOTE: NO SEMICOLON! i.e. NOT "after 1000; puts Hi". Because it is different command. This command will block the execution, which is not what I want. I...
  3. charmdream

    "after" command doesnot work in tclsh

    I also tried tclsh8.4 on linux. It failed too. Though not trying on windows(may try later), I believe it should behave the same. I felt very surprise how you could succeed! Are you sure you used tclsh (not wish)? And use the ONE command: after 1000 {puts hello} Actually, I have found some...
  4. charmdream

    "after" command doesnot work in tclsh

    which version of tclsh are you using? I tried tclsh8.0, tclsh8.3 and tclsh8.4 on solaris. The command after 1000 {puts hello} didn't give the output after 1 second. But if using wish, it works. I have known it's because tclsh doesn't support event-driven. I don't know how you could get the...
  5. charmdream

    "after" command doesnot work in tclsh

    Hi, marsd Please try to execute after 1000 {puts hello} under tclsh and wish respectively. You will see the difference.
  6. charmdream

    "after" command doesnot work in tclsh

    The following is the manual for "after": The after ms and after idle forms of the command assume that the application is event driven: the delayed commands will not be executed unless the application enters the event loop. In applications that are not normally event-driven, such as tclsh, the...
  7. charmdream

    "after" command doesnot work in tclsh

    I tried tclsh8.0, tclsh8.3 and tclsh8.4 on solaris. All have the same problem. Did you try "after <ms> {script}"? If only "after <ms>", it works.
  8. charmdream

    &quot;after&quot; command doesnot work in tclsh

    After" works fine in wish, but doesn't work in tclsh. Anybody had this experience? How to solve it? Thanks
  9. charmdream

    How to get all running application names?

    There is a tcl application, which may have multiple instances running simultaneously. I will use the &quot;send&quot; command to exchange data between these different instances. Now, the question is: Is there any way that I can get the application names for all the running instances? Thanks...
  10. charmdream

    Polaroid BurMAX24 CD-RW compatability

    Nero does support it. Now my burnmax40 works. I use the latest nero(5.5.9.9). And it can support burnmax 40 speed. Thanks everyone for the advice. :-)
  11. charmdream

    Polaroid BurMAX24 CD-RW compatability

    I have the same problem. When I upgraded to nero 5.5.9.9, nero can recognize the Polaroid BurnMax40. (I bought BurnMax40) But the problem is that I couldnot use nero to burn, because my nero software comes with my Cendyne CDRW. It seems my nero only works with its bundle CDRW driver. It needs...
  12. charmdream

    How to pass data between different tcl/tk applications?

    The &quot;send&quot; command can help me to do it. (This is what I was trying to find. But I forgot the command name at that time). You really gave me more information on this topic. Maybe I can use them for other complicated cases later. Thanks anyway.
  13. charmdream

    How to pass data between different tcl/tk applications?

    Thanks for your reply. But is there any simple way to pass (global) variables from one tcl application to another one? thanks again.
  14. charmdream

    How to pass data between different tcl/tk applications?

    As title! How can different tcl/tk application exchange data? Thanks
  15. charmdream

    How to run a tcl/tk procedure in background ?

    Now I can use 'after' command to make the time-consuming work do periodicly. But the main program is not stuck there. And it looks good. proc processfile {file} { # do some processing(maybe 100 lines or more) # and display if {$file not end} { after 10 &quot;processfile $file&quot...
  16. charmdream

    How to run a tcl/tk procedure in background ?

    Thanks a lot, Ulis. It looks good and is helpful. :-)
  17. charmdream

    How to run a tcl/tk procedure in background ?

    That's a bad news for me. :-( Anyway, thank you very much!
  18. charmdream

    How to run a tcl/tk procedure in background ?

    Thanks for your reply. What I want is as following: There is a file(maybe huge). I want to open it and convert each line into some format and then display it using text widget. It seems that the display will not be ready until the procedure(read file, convert format and insert the text into...
  19. charmdream

    How to run a tcl/tk procedure in background ?

    Is there any method that I can run a tcl/tk procedure (may take long time) in background, so that other procedures can be executed at the same time? Thanks
  20. charmdream

    How to scale text item in canvas?

    Thank you for your suggestion. But it seems that we cannot zoom the bitmaps and images in the canvas. Maybe we can do it MANUALLY. But it is not a realistic way. :-( Thanks anyway. Is there anyone who can provide a good method?

Part and Inventory Search

Back
Top