Keep a progress bar moving

I have an app/script that displays a barber pole progress bar on a sheet, as the application tells InDesign to make a Postscript file and then Acrobat Distiller to distill it. Whenever the InDesign or Acrobat part are doing their thing, the progress bar stops, then resumes movement when the operation is done and it moves on to other things.
Is there a way for me to be able to make the bar continue to increment as ID and Acro do their things? It is sort of confusing to the user as they think the app has stopped responding; when it is in fact just busy.

Will post some code if it’s a code-construction-dependent sort of thing.

Try setting the uses threaded animation property of the progress indicator to true.

Oh that’s amazing! Works beautifully now.