Skip to main content
Inspiring
August 15, 2024
Question

Self-Contained PDF ?

  • August 15, 2024
  • 1 reply
  • 1223 views

I do not know the jargon and never used Acrobat before three days ago.  Forgive my naivete.

 

I have made a pdf with mutiple/clickable links.  Most of these are web links.  I have no worries about these.

Some of these "links" , however,  are to external graphic files on my PC...which have to be opened in an image viewer app/software/program.

I don't want to incorporate these "linked" visual graphic files into the body of the pdf...so I need a way to embed/include/attach them that makes them available/clickable/viewable without being linked to my PC.  I want to be able to copy this pdf to a thumbdrive and hand it to someone with this SELF-CONTAINED pdf.

Creating a separate images folder is not an option.

 

Make sense?

Possible?

Kevin

 

  

This topic has been closed for replies.

1 reply

try67
Community Expert
Community Expert
August 15, 2024

Yes, and yes.

You can attach files to a PDF file via the Attachments panel in Acrobat (it has an icon of a paper-clip, and used to be on the left-hand side, before Adobe "renovated" the UI and moved everything around). Basically, just open this panel and drag & drop the files into it, and they will become a part of the PDF, while still existing as stand-alone files.

 

Creating a link to those files is trickier, though. It requires using a script.

The basic code is this:

 

this.exportDataObject({cName: "TargetFile.jpg", nLaunch: 2});

 

Replace "TargetFile.jpg" with the actual name of the file you attached and want to link to.

The user will also get a warning message confirming they wish to open this file, but they won't need to save it. It will be saved as a temporary file, and then opened directly.

Inspiring
August 15, 2024

Sweet!

I'll try it out and get back to you. Thanks, So much!