if I provide the name it just saves to the FM folderThis is not entirely true, just provide the full path so that it is saved in the directory you want.The full path could even be calculated, starting with the value of a field entered by the user.
I believe that Njem wants to let the user pick the directory while Filemaker specifies the file name.
That could be difficult to do and can't be done from the save as PDF dialog as far as I know.
If the destination is one of a small number of standard locations or any folder located within the documents directory, there are ways that the user can specify the location by selecting it as the first step to running a script that saves the PDF.
Either that, or you'll need to acquire a plug in that enables the user to select a directory and returns the path to the selected directory to Filemaker for use in the save as PDF script step.
Great. So FM has no way to do this, without using 3rd party stuff. Seems like it would be awfully easy to do. Actually I expected that if I didn't check "no dialog" that it would ask confirmation before saving. Something to put on the wish list.