Is it possible to add global variables to several files (+50) at the same time, for example, with the task scheduler?

Hello everybody,

I got a design with some parts and assemblies and I realized I could use a couple of global variables to calculate something that will later be used in a custom property, but I don't know how to add variables in batches. For now I solved the problem for the new files by creating a template which already includes the variables and properties, but the other parts that were already there and did not have any variables...  I'm looking for a way to do it all at once, maybe with the task scheduler or a macro?

Thanks for your help!

Daniel Restrepo

SolidworksTask Scheduler