How do I retrieve the name?
From the variable you've used to specify the storage path for "Save Records as PDF"?
Isn't the user going to see that in an error dialog anyway?
Unless they changed this in a recent version, errors from a failed attempt to save a PDF are not suppressed the Set Error Capture step anyway so they'll get that dialog--which will list the file name, whether you want them to or not.
Dear erolst ,
My output file path list is empty and my script steps is:
Save record as pdf [With dialog: on]
I want user insert desired filename every one this script is running.
Dear philmodjunk ,
my set error capture is off and I want to inform users further information. Filemaker dialog box show this desired name and I want to know how it works.
I know of no way to access that information unless you have the user enter the file name into a text field that you use as part of the file path in a $Path variable when saving the PDF.