Quick-tip: rename all links in an InDesign file

When working with difficult clients, it can be tempting to take out some frustration on the clients’ files, such as naming links within a file rather inappropriately. An example would be a picture placed into an InDesign file with the name lousypicture.jpg. Seems harmless enough, but this is a tame example compared to what might be going through your mind as a reader. Also, no – I’ve never done this and I’ve always behaved in a professional manner to my clients.

Seems like harmless enough fun… until the client requests packaged InDesign files of their artwork. Then it’s easy for the client to see all of the inappropriate names that were given to the links in their artwork, and unless they have a sense of humour about it, expect to receive… negative feedback.

If you’ve been in a situation like this and needed to rename all links in a document, then scripter Kasyan Servetsky has an ideal script for you: batch rename and link. Once the script is run, it renames and relinks all links in an InDesign file based on their page number and their position on the page. So a name such as lousypicture.jpg will now become AA_0002_r1.jpg

I’d originally used this script four years ago when I received a strange use-case where a customer wanted the images from their annual report labelled in terms of what pages the images were on, and this script was quite handy for that.

However, I can see the more appropriate use-case of having to rename inappropriate or offensively-named links when handing files over to clients.