Macro for saving created parts.

Hello, I have one problem. I need a macro, which saves the created parts (.sldprt) in a selected location under the names for example (Part1, Part2 , Part 3 .... and so on) . 
Thanks for any help. Greetings.

SolidworksApi/macros