Autostart Macro

I want to autostart a macro when a new file is created. Also,I want to either "link" one macro to each template, or a generalmacro that "feel" what template is used and then run the code Iwant.

I think this is possible in other software, Microsoft Word forexample, but is it possible in Solid Works.


(Yes, I know that I can have a Macro to start a new file and usedesired template but I hoped to go the other way if possible.)


Regards

EmilSolidworksApi macros