Newbies greycat Posted September 17, 2006 Newbies Share 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. Link to comment Share on other sites More sharing options...
Lee Smith Posted September 17, 2006 Share Posted September 17, 2006 Take a look at this Thread Here HTH Lee Link to comment Share on other sites More sharing options...
Newbies greycat Posted September 18, 2006 Author Newbies Share 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? Link to comment Share on other sites More sharing options...
Lee Smith Posted September 18, 2006 Share Posted September 18, 2006 Naming is available in v8 and 8.5. Prior to v8, it requires a plugin. Lee Link to comment Share on other sites More sharing options...
BobWeaver Posted September 20, 2006 Share 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. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 6556 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