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

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

Recommended Posts

Posted

I tried searching the site to no avail but was wondering what your take would be if you were presented with this problem:

Client (don't even ask me why lol) wants to open pdf documents from within Filemaker. The documents are stored on a server drive and set path. We've tried applescript/etc and almost got it to work with Preview - (which would be ok) but not Adobe.

Any suggestions?

Thanks All!

Posted

Hi,

You will need to insert the location of the file as a reference in a container field. Then you can use a script to open the file. It will open it using Adobe.

Go to Field[select/perform;Your table::Your Container Field]

Michael

Posted

I can think of two things to try:

1. Use the Send Event script step, and set the event type to Open Document and the file to a calculation containing the path to your file. This requires Acrobat be set to the default handler for PDF files, otherwise it may use Preview or something else. This should also work for Windows, though your calculation for the file path will be a little more complicated.

2. If the default handler isn't Acrobat and you can't easily change it everywhere, you could go back to AppleScript for the Mac side:

tell application "Adobe Acrobat 7.0 Professional"

	activate

	open "{full path to your file.pdf}"

end tell

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