August 28, 200421 yr I'm guessing this is a job for Apple Script. How would I go about using a button to open preview to display the full sized version of an image I have in a container field? Thanks!
August 31, 200421 yr Create a FileMaker script. Add the Export Field contents script step. Specify your container field. Make a file reference that points to a common place(like top level of the hardrive) and use a generic filename with no extension. Like "Preview". Then add the Perform applescript script step and use the following code tell application "Preview" open "Macintosh HD:Preview" end tell
September 30, 200421 yr apwalton, there are several different possibilities. We don't know exactly what you have in the container field, and everything depends on that. You say you want to "display a full-size image in Preview." OK, what is in the container field? A smaller size image? Is it stored "as reference only"? Or is it "embedded" (not as a reference)? In this last case you would HAVE to have the file path to the external image file, because you lose it after embedding. Or is it the full-size image, stored as a reference, and you just want to open it in Preview instead? Or did you just calculate the image, using the relative path, in order to display (also possible)? Or did you store the whole file also? As you can see, many choices, each with a different method to do what you want. The only one that is not possible is "embedded image, don't know where the original file is; didn't embed its file either."
Create an account or sign in to comment