Is it possible to run a macro when saving? Or rebuilding?

Hello, I am trying to create either a macro or code that will run this macro (it is a bounding box macro) when I save the part file. I read up on it, but am not able to find a solution. Would it be possible to do this?

I am not very familiar with macros, only a little. This Bounding Box macro has 1 module called "BoundingBoxCode" and that's what I am trying to run when I save a .sldprt file. If it is possible, where and exactly how would I edit this macro or create a new macro that will run this one everytime it's saved. Thanks for any help.

SolidworksApi macros