AnsweredAssumed Answered

Specify file name with Save As dialog for Save as PDF in Script

Question asked by rh on Feb 4, 2014
Latest reply on May 14, 2015 by Sage

Title

Specify file name with Save As dialog for Save as PDF in Script

Post

     Hi all

     I'm developing a workorder system that will save a single record as a pdf and I want to be able to specify a default filename (other than "untitled.pdf") AND let the use choose where to save the file via the normal save-as dialog, and rename the file if they so desire.

     I have a Set Variable $filename  which resolves to "workorder_7" or "workorder_8" using the serial number of the record.

     So a specified output filename would be "workorder_12.pdf" which works great but doesn't show save as dialog.

     If I don't specify a filename, then the save dialog shows but with a filename of "untitled.pdf" which is just amateurish looking.

     Any suggestions?

      

Outcomes