Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

getting a path from an image


tirtza

This topic is 7866 days old. Please don't post here. Open a new topic instead.

Recommended Posts

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

This topic is 7866 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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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