Sometimes when designing, I forget to run my important macros. Therefore, I came up with an idea and started researching: when finishing a drawing, I want a macro named Last.swp to run automatically when closing the part file. Can I do this, and do you have an example?
![worship oa](./images/smilies/i-6bK7hMM.gif)
I found the "DestroyNotify2 of PartDoc" code but couldn't apply it. There could be another code as well; it doesn't have to be specifically this one for me.
Also, I can't add anything to the path section of the SolidWorks shortcut because it's a company computer, and some things are restricted
![Rolling Eyes :roll:](./images/smilies/icon_rolleyes.gif)