Skip to main content
danys6600274
Participant
October 21, 2023
Question

InDesign Script to create hyperlinks for DOIs

  • October 21, 2023
  • 2 replies
  • 616 views

Hello all,

I need a script that will search for ditital object idenfifier (doi: plus number/letter string) callouts in a documents reference list, apply a hyperlink to it (not changing the text in the ref list), but the hyperlink destination will strip out the "doi:" and replace it with "https//doi.org/" and the string following it. Every doi is different.

 

I hope you can help.?

 

Thanks!

This topic has been closed for replies.

2 replies

danys6600274
Participant
October 22, 2023

Here's an example.

 

Robert at ID-Tasker
Legend
October 22, 2023

Is this screenshot from a PC or Mac?

I'm not JS guy so can only write you a VBS script = PC only.

 

danys6600274
Participant
October 22, 2023

PC, thank you!

Robert at ID-Tasker
Legend
October 22, 2023

Can you show few, more or less, real examples? Before and after. Screenshot would be enough.