Yes, I'm still using CS6, because I publish print books that are as old as Aldus Freehand, so I have everything back to Aldus Freehand. Here's my question. Whenever I try to link to an URL that ends with a "/?p=", InDesign adds a bunch of characters that the causes the hyperlink to get a 'not found' error message.
Please see my attached image.
I'd appreciate any step-by-step suggestions on how to get rid of those additional characters in an InDesign hyperlink?
Copy link to clipboard
Thanks for the link, but it is unusable for me. In other words, it cannot be corrected by a print designer. My expertise is making digital CMYK 300 dpi images and K/O text print like pics on 60# text and 100#C1S.
//DESCRIPTION:Decodes all hyperlink destination URLs and names; can be undone in one go!
* @@@BUILDINFO@@@ DecodeURI_AllHyperlinks_DestinationURL_Name.jsx !Version! Mon Jun 04 2012 14:48:49 GMT+0200
app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
var d = app.documents;
var allHyperlinks = d.hyperlinks;
var newDestURL = decodeURI(allHyperlinks.destination.destinationURL);
var newDestName = decodeURI(allHyperlinks.destination.name);
allHyperlinks.destination.destinationURL = newDestURL;
allHyperlinks.destination.name = newDestName;
Mike - Delving further into your link, I discovered a great fix: change the characters using tiny.url etc. It worked. Thanks for the link!