December 12, 201015 yr I'm running into a brick wall on this one. I can't seem to find the solution. I have a FM Pro file with a few thousand records. Each record has a container field. And over the past few years I've been putting PDF files into those container fields. But now I don't want to store the file directly into that FM file. I want to keep the PDF files and the Apple pages files that I've put into those containers in a separate folder in my Finder directory. So, I'm trying to write a script that will loop through my records and export each container file (there's only one per record) into an empty folder that I've stored on my desktop. Each file to be exported has a unique name so I won't run into problems with that. I know how to loop though the file and I've found the script step that says to export the contents of the field, but when I'm trying to set it up it asks me to name the file that will receive the export. I don't want to rename anything. I'm just trying to get the PDF or the Apple Pages file out of the record and into a folder on the desktop, without having to do each record manually. But, I'm stumped. Any help is appreciated.
December 12, 201015 yr See if this helps: http://fmforums.com/forum/index.php/topic/45545-looping-script-to-extract-container-jpegs/page__p__212714#entry212714
Create an account or sign in to comment