how do i convert pdf web links to file open actions?

So after a similar battle today…

you can’t define S=’/Launch’ as string like that. You have to use:

  annot.A.update(pdfrw.PdfDict( S=pdfrw.PdfName('Launch')))

Similarly with filespec etc. You may also need to take the () off the filename – as that seemed to break it, at least in Apple Preview.

CLICK HERE to find out more related problems solutions.

Leave a Comment

Your email address will not be published.

Scroll to Top