Progress Bar

Hi folks,
Is there a way to access Blender’s progress bar? I’m thinking of the progress bar that shows up for instance when you bake textures. Can I use a Python script to access the progress bar function?

Maybe you find this useful
https://blender.stackexchange.com/questions/45731/how-to-run-an-external-command-showing-its-progress-without-locking-blender-e