Create Apple script / Automator's app for find/replace in PDF files

95 Views Asked by At

I have a small problem with PDF files that I export from Figma.

  1. I make a text link in Figma file
  2. I export PDF with this text
  3. I open PDF in Acrobat (or whatever viewer) and I see my link in black box (with thin black lines around text)

After some googling I've found this solution:

  1. Open PDF in text editor
  2. Find string "/Link" and replace with "/Link /Border [0 0 0]"

Now in my workflow I have tons of these PDF files with links. I was wondering if I can make some script or app, where I can drop PDF and it will replace this strings and rewrite PDF back

Any help will be greatly appreciated!

I tried lots of searches, but found more people with same problem. The only solution now is manually find/replace in text editor.

0

There are 0 best solutions below