# SetProgressPercentage

**URL:** https://www.finalbuilder.com/forums/t/setprogresspercentage/3909
**Category:** Feature Requests
**Created:** [October 17, 2007, 8:02am UTC](https://www.finalbuilder.com/forums/t/setprogresspercentage/3909 "2007-10-17T08:02:08Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![stevage](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/bc8723/32.png) [@stevage](https://www.finalbuilder.com/forums/u/stevage)
#### Post date: [October 17, 2007, 8:02am UTC](https://www.finalbuilder.com/forums/t/setprogresspercentage/3909/1 "2007-10-17T08:02:08Z")

</div>

It would be nice to be able to set a raw progress percentage, like 43% or something, to show in the GUI. I know you can set the estimated total number of actions, but it may not be possible to come up with a good estimate.

&nbsp;

For example, a build like:

-init some stuff

-Loop over all files in a directory (say, 130 files)

--Possibly skip to end of loop (2 actions)

--Do some stuff (30 actions)

--possibly do some other stuff (140 actions)

--possibly do some other stuff (20 actions)

&nbsp;

It's almost impossible to estimate the total number of actions that will be run. However, I would get a much better feel for the progress of the build if I could simply say: SetProgressPercentage(FilesProcessed / 130 \* 100). The bar will sit still for long periods, and won't advance at all during the Init phase, but that's an acceptable trade-off, given that the Init phase represents less than 1% of the time anyway.

Steve
