The function would return the path and file name a user selected with an Export Field Content or Export Records or Save Records as PDF script step.
Having a function Get( LastExportFilePathName ) would allow different things. I could use it to …
- Keep a log about export activities.
- Include a reference to this file in my record or import the file into a container field.
For a workaround a would need plugins or a complicated setup with multiple dialogs where the user will select a path and enters the new file name, then put these into variables and pass it to the script step. Having a function like Get( LastExportFilePathName ) would make it much easier for the developer.