September 17, 200619 yr Newbies When exporting a pdf file from a container field is there a way to name the file with the contents of a text field in the same record - adding the .pdf extension? Many thanks for any help.
September 18, 200619 yr Author Newbies Thanks so much for responding. I've looked at the thread you recommended. Do I understand correctly that the file naming ability is only available in version 8.5 (I'm currently using version 7 ) and only if I loop the scrip with variables set? What I would really like to do is to automatically name one (the current record) exported Container Field content at a time - this is never a batch job. I could isolate a record using "find" if the loop can work for a found set only. Is this possible?
September 20, 200619 yr In versions 7 and earlier, you can also do it with Applescript (Mac) or VBscript (Windows). Simply export your file with a default name like "Export.pdf" and then rename it using the applicable OS scripting. On a Mac: After your export script step, add a Perform Applescript command, select "Calculated Applescript" and enter a do shell script command like so: "do shell script "mv /Users/Shared/ExportFolder/output.pdf /Users/Shared/ExportFolder/"" & FileName & """ You will need to change the pathnames to suit your own particular setup.
Create an account or sign in to comment