capture the file path and file name that's used in the Save Records as PDF
I want to create a script to Save Records as PDF for layout1, allow the user to specify the file path and file name of the output PDF file. Then the script will go to layout2, save records as PDF on layout2 and append it to the PDF file just created for layout1. Is there a way the the script can auto compete the file path and file name in the 2nd Save Records as PDF step based on what the user specified in the 1st. Save REcords as PDF step?