Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 4744 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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.

This topic is 4744 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.