dkey Posted November 26, 2011 Posted November 26, 2011 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
Matthew F Posted November 27, 2011 Posted November 27, 2011 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.
Recommended Posts
This topic is 5013 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