November 26, 201114 yr I have large db (Mac ver 11) however I am unable to create a script to export to a specified folder every single picture from the container field and keep the original file names Is it possible to create a working script to do this? Kind regards
November 27, 201114 yr Assuming your photos are in a container field called "Photo", and are stored as references to external files, you can use the following to export a photo to the Desktop without a dialogue box appearing: Set Variable [ ($path ; Get (DesktopPath) & RightWords ( GetAsText (Photo) ; 2 ) ] Export Field Contents [ Photo ; "$path" ] You can substitute the Desktop for some other folder if you want, and generate a loop to do this for all records in the found set. This doesn't work if the photos are stored internally to filemaker (not as a reference). In that case I think the original filename is stripped off. However, you could add it with your script if you have it stored in another field.
Create an account or sign in to comment