API To designate Save As folder location

I am wondering if it is possible to make an API macro so when the Save As dialog box comes up I can have a macro that runs in the backround that will set the folder location to one designated by the API macro.

SolidworksApi macros