apwalton Posted August 28, 2004 Posted August 28, 2004 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!
spragueg Posted August 31, 2004 Posted August 31, 2004 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
apwalton Posted September 3, 2004 Author Posted September 3, 2004 Not sure what you mean by "make a file reference". Where do I do that?
Fenton Posted September 30, 2004 Posted September 30, 2004 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."
Recommended Posts
This topic is 7728 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 accountSign in
Already have an account? Sign in here.
Sign In Now