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