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

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

Recommended Posts

Posted

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!

Posted

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

Posted

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.

Posted

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

This topic is 7911 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.