Copy link to clipboard
Hi everybody, it's my fist post 😉 I try to add automatically glyph before all my hyperlinks do you know I could I do this ?
Thanks for your answers
This should do it. It inserts the Pilcrow (U+00B6) at the start of each link; change to any other glyph you want.
var hpl = app.documents.hyperlinks;
for (var i=0; i<hpl.length; i++)
urlText = hpl[i].source.sourceText;
urlText.insertionPoints.contents = '\u00B6'
thanks i'll try it