Newbies greycat Posted September 17, 2006 Newbies Posted September 17, 2006 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.
Lee Smith Posted September 17, 2006 Posted September 17, 2006 Take a look at this Thread Here HTH Lee
Newbies greycat Posted September 18, 2006 Author Newbies Posted September 18, 2006 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?
Lee Smith Posted September 18, 2006 Posted September 18, 2006 Naming is available in v8 and 8.5. Prior to v8, it requires a plugin. Lee
BobWeaver Posted September 20, 2006 Posted September 20, 2006 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.
Recommended Posts
This topic is 6640 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now