Function Reference

ProgressSet

Sets the position and/or text of a previously created Progress bar window.

ProgressSet ( percent [, "subtext" [, "maintext"]] )

 

Parameters

percent Percentage (value between 0. and 100.) to set the progress bar at.
subtext [optional] Set the text for the Sub, Normal, Lower label.
maintext [optional] Set the text for the Main, Bold, Upper label.

 

Return Value

None.

 

Remarks

Notice that the subtext argument comes before maintext.

 

Related

ProgressOff, ProgressOn

 

Example


ProgressOn("Progress Meter", "Increments every second", "0 percent")
For $i = 10 to 100 step 10
    sleep(1000)
    ProgressSet( $i, $i & " percent")
Next
ProgressSet(100 , "Done", "Complete")
sleep(500)
ProgressOff()