SAVE AS PDF AND SAVE AS STEP MACROS IN SPECIFIC FOLDER

Hello, does anyone help with macro that saves drawing as pdf in specific folder with the drawing name. The existing pdfs can be overwritten without any information about revision. I also need the same macro that saves part to STEP A203 file.  I don't have much knowledge about macros. I would like to have wto separately macros

Thanks,

Artur

SolidworksApi macros