Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • Newbies

Hi all, thanks for your help in advance. I am sure there is an easy solution. I'm a self-taught beginner/intermediate user. I use Filemaker Pro 12 and sometimes 14 (depending on where I am working, home or university) on a mac.

PROBLEM: I am using a script to export the full size image (jpg) contents of all records for a particular container field. My problem is that they export as images within text files and I need the original unmodified jpg image. Specifically, they export as filetype "TextEdit Document".

My script uses "Export Field Contents", where I enter the container field followed by a semicolon and $Images. This sends the images to the desktop** just fine, only they are text docs--that's my problem. Note that the script also uses "Get ( DesktopPath )" to name the file, which includes essential details pulled from other fields in the record, such as the record's unique ID. The full script with Loop commands is visible in the attached screenshot.

So, how can I get the images to export as the jpgs they are? Thank you!!

 

**A separate issue if anyone has ideas!: I tried to get them to export to a particular output folder location on my computer, but I always get an error when I do this and try to export, so I stuck with the default $Images which sends them to the Desktop. Manageable but not ideal.

Screen Shot 2016-06-01 at 11.32.26 AM.png

Edited by Rebecca Bria

Do the have an extension when you export them to the desktop? It sounds like it may be missing ".jpg" at the end if that is what they are.

By exporting as they are, do you want to export them with the file name they have in the container field? You can get the file name with GetAsText function on your container field to get that file name.

Mike

  • Author
  • Newbies

Both of your responses were spot on! Such a simple solution that never occurred to me: I added the text ".jpg" to the exported path and it worked beautifully.

Have a great day!

Rebecca

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.