toomze
toomze

Reputation: 1

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

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.

Upvotes: 0

Views: 137

Answers (0)

Related Questions