General information
Category:
Coding, syntax & commands
Thanks! That's what I was looking for.
>The number of files is dynamic, but currently there are 179. I'd like to iterate through a loop and update the progress bar, but I need a formula for doing so because after 100 files the progress bar closes.
>Anybody got any ideas?
>
>Expanding on what Sergey suggested, you need to tell the progress bar what percentage of the files have been copied, not the number of files. The formula should look like this: (nAlreadyCopied/nFilesToCopy)*100 and maybe even INT((nAlreadyCopied/nFilesToCopy)*100) to give it whole numbers from 1 to 100.
>
>HTH,
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only