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.

Batch-importing PDFs as pictures

Featured Replies

I am attempting to batch import a folder full of PDFs as pictures. Everything works smoothly, except that FMP seems to be only importing a reference to the file, despite the fact that I have the "import only a reference" checkbox unchecked. Anybody know what I need to do to import a folder full of PDFs and have the data stored internally? (If this is a bug in FMP8 but has been fixed in FMP9, that would be good to know, as I have 9 on order.)

BTW I found (here on the forums) a nice script to batch import PDFs but it imports them as files rather than as pictures, and also doesn't traverse subfolders, so won't work for me.

AFAIK, when you import a folder of images, PDFs are imported as movies - not files or pictures - and movies are always imported as reference only.

I think you could do this in two stages: first, import the PDFs as reference only (the way you have it now), then loop through the imported records and replace the referenced movie with an embedded image:


Set Variable [ $path; Value:Substitute ( GetValue ( Table::Container ; 3 ) ; "moviemac" ; "imagemac" ) ] 

Go to Field [ Table::Container ] 

Insert Picture [ “$path” ] 

  • Author

That worked great. A little slow when processing 500+ records at once, but it worked nevertheless. Thanks, you're awesome.

(One curious thing: If a PDF file doesn't have the extension .pdf at the end (e.g. if "Hide extension" is ticked in the Finder's Get Info box, then FMP says it can't import it as a picture, so it imports it as a file instead.)

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.