Custom Properties Template Macro

I have a large number of drawings that I need to change the custom properties template on. I tried to record a macro for it but for some reason it would not record the change (i looked at the code and it showed nothing but the setup). Does anyone know of a way to make a macro that will do this?

SolidworksApi macros