March 25, 200322 yr 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!
March 25, 200322 yr 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
March 26, 200322 yr 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.
March 26, 200322 yr Author sorry - ignore the last post. all that does is flag missing images. However all the images are definetely stored as references.
March 26, 200322 yr 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