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

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

Recommended Posts

Posted

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!

Posted

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

  • 4 weeks later...
Posted

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."

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