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.

Importing photographs into FM from a folder

Featured Replies

  • Newbies

Hello All

I'm a photographer who has been working with FM for about 5 years. I have numerous DB's where I have imported pictures though a loop in a FM script by manually specifying the file to import each time in the dialogue box. I have never used apple scripting and am wondering whether it is possible to write a script that will automatically go to the next file in a folder each time the FM script is calling for an import. Thanks in advance.

Jim

  • Newbies

Jim,

You may set up a loop in your filemaker table

and for every record call this script to check

your Photo folder and import the file reference.

Use the "Perform Applecsript" script step in your loop using

something like;

tell application "FileMaker Pro"

activate

set thePhotoPath "YourHardDrive:YourPhotoFolder"

tell database "Photos.fp5"

set PhotoName to cell "FM_PhotoName" of current record

set FileRef to thePhotoPath & ":" & PhotoName as string

set cell "FM_Photo" of current record to reference to file (FileRef)

end tell

end tell

Good Luck!

Dave

If ya wan't to spend a little money, I do recommend Troi File Plug-in It handles this request quite nicely.

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.