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

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

Recommended Posts

  • Newbies
Posted

Hi. I have a database that I would like to add a field to. I want the field to be a link to a PDF file, so that when you click on the link it will open up the PDF in Acrobat. Each record would have a link to a different PDF. I am running FM 5.5 on Mac OS 9. Is this possible, and can anyone help?? crazy.gif" border="0

  • 4 weeks later...
Posted

Hello,

I can not give you steps in how to do this but,

if you are on a Mac explore using AppleScript. You can make any field a button (a link) that copies a reference and pastes it into an AppleScript file. AppleScript is how you make things work outside of the FMP environment. Good luck.

Steve

Posted

This is NOT how to do this using AppleScript. There is no copy and paste. If the value in the field is the full path to the target file, then set a varaible to that field's value and cast to alias. Then tell the Finder to open it. If it is created with a program the yields .pdf (Acrobat, not Microsoft) PDF files, then the finder will oipen it using most lilely Acrobat Reader.

Put this into a ScriptMaker script:

tell application "FileMaker Pro"

set y to get data cell "name" of current record of document 1

end tell

tell application "Finder"

set y to y as alias

open y

end tell

HTH

Old Advance Man

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