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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

progressbar ?

Status
Not open for further replies.

tramje

Technical User
Mar 10, 2004
1
FR
Hello,
I'm a newby in tcl/tk programmation.
I'd like do a script which use a progress bar when i copy a file, but i don't know how to do that and how use the widget progressbar.
can somebody help me ?
Thanks
 
Code:
proc progressbar {cnt interval} {
for {set x 0} {$x < $cnt} {incr x} {
               puts -nonewline "#"
               after $interval;
            }
puts "\n"
}
As far as tk goes..can't help you.
 
Status
Not open for further replies.

Similar threads

Part and Inventory Search

Sponsor

Back
Top