Jump to content
Sign in to follow this  
domb

open container content in other filemaker file

Recommended Posts

Hello,

I wish to know how you can open a pdf file stored in a container field by double-clicking on it, from another filemaker file.

I have a filemaker file "patients.fp7" and a filemaker file "files.fp7". In "files.fp7" I store pdfs in container fields. Each one is stored and related to a "patient_id" number from the "patients.fp7" file.

In my "patients.fp7" file I can display the related container field. I can actually see the pdf file in the container, but when I double-click on it nothing happens.

However, I can right-click on it and export the content anywhere I want.

I wish to make a script that will display the file for instance in preview (mac os) or in Acrobat Reader (windows).

I looked at script functions but none seems to do this.

Can you help me ?

Thanks in advance.

Share this post


Link to post
Share on other sites

I've always used AppleScript for this. But now you can use a Script Variable to hold the path to use in Export Field Contents, then use Send Event to open the file.

PatientFiles.fp7.zip

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.