Mapkey PDF export into specific directory
I've been trying to create a mapkey which uses the File->Save As->Export to export a pdf file. I then want the export dialog to automatically take you into a specific subfolder within the working directory, where you then can name and export the pdf into. I've gotten this to work with the following mapkey:
mapkey pdf @MAPKEY_NAMESave PDF file;@MAPKEY_LABELSave PDF file;\
mapkey(continued) ~ Close `main_dlg_cur` `appl_casc`;~ Command `ProCmdExportPreview` ;\
mapkey(continued) ~ Command `ProCmdDwgPubSettings` ;\
mapkey(continued) ~ Select `intf_profile` `pdf_export.PDFMainTab` 1 `pdf_export.PDFContent`;\
mapkey(continued) ~ Select `intf_profile` `pdf_export.pdf_font_stroke` 1 `pdf_stroke_all`;\
mapkey(continued) ~ Activate `intf_profile` `pdf_export.pdf_searchable_text` 0;\
mapkey(continued) ~ Activate `intf_profile` `OkPshBtn`;~ Command `ProCmdDwgPubExport`;\
mapkey(continued) ~ Select `file_saveas` `ph_list.Filelist` 1 `FOLDER_A`;\
mapkey(continued) ~ Activate `file_saveas` `ph_list.Filelist` 1 `FOLDER_A`;
The problem is when the folder doesn't exist (we use a certain folder structure where this folder is created for new projects, but for old ones it might not be there), Creo then exports the pdf into the working directory without asking any questions about the file name. This is a problem. I want to be able to name the file before exporting even when the specified folder isn't there. So when "FOLDER_A" isn't a subfolder in the working directory, the pdf export dialog should be located in the working directory but with the ability to name before exporting.
Is there a way to get Creo to show the dialog box and name the pdf when the folder specified in the mapkey isn't there?

