news |
info |
people |
software |
stuff |
This routine assumes that you have already called UL_StartProgress to create the progress window (a progress window is a dialog window like the one the finder uses to display the progress of a file copy).
UL_AdvanceProgress should be called each time you want to advance the progress indicator by one step.
When you have finished with the progress, calling UL_FinishProgress will dismiss it.
on UL_AdvanceProgress text global gUL_ProgressCount, gUL_ProgressTotal add 1 to gUL_ProgressCount set the comment of window "Progress" to text set the progress of window "Progress" to gUL_ProgressCount/gUL_ProgressTotal end UL_AdvanceProgress