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.

getting a path from an image

Featured Replies

in my filemaker database i have an images stored in containers. i have an applescript that tries to extract the path from the image-

set image_path_var to get data of cell "SKETCH" of current record

The image is an eps file.

The problem is that on every record i get an error when trying to use this image_path_var which says something like can't make data eps then a whole bunch of garbage. this script works beautifullly on a different database. what could be the problem?: help!

If the image data is stored within filemaker, you might be getting an error when you try to "use" the data as a text string.

Insert error capture in your script like...

Try

set image_path_var to (get data of cell "SKETCH" of current record) as string

on error

Display dialog "image is not stored as reference"

return

end try

  • Author

All the images are stored as a reference. I previously ran a filemaker script which copied the image and on error set a field to say error. The current found set are all the records which do not say error.

  • Author

sorry - ignore the last post. all that does is flag missing images. However all the images are definetely stored as references.

I usually include a FM script step to check if the container is empty before running the applescript.

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.