Macro feature question

Is there any way to link macro feature to a macro .swp file to update it if needed? Or Should make it run a macro remotely by using swApp.RunMacro2 ...

Thanks

SolidworksApi macros