Copy link to clipboard
Copied
Does anyone know how I can save out/export a text file list of all the links in my inDesign file please?
Cheers.
Copy link to clipboard
Copied
Choose File>Package, click Report, then Cancel. The saved text file will list links and link info.
Copy link to clipboard
Copied
Good stuff.
Thank you Rob.
Copy link to clipboard
Copied
Select the links in the links panel and the in the flyout menu(accessed by clicking the 3 horizontal lines on the top right of panel), select Copy Info and then Copy Info for selected links. Then you can paste the info in a text file
-Manan
Copy link to clipboard
Copied
Nice one!
Both ways work – both have pros and cons.
But this is great help.
Thank you.
Copy link to clipboard
Copied
Hello,
Try the .jsx version for your needs.
doc = app.activeDocument;
myDocFolder = app.activeDocument.filePath;
var fileName = doc.name.replace(/.indd/, "");
var linkNames = fileName + '_Links-list.txt';
var file = new File(myDocFolder.fsName + "/" + linkNames);
var myLinkName = new Array();
myLinks = app.activeDocument.links;
for(var i=0; i < myLinks.length; i++){
myLinkName.push(myLinks[i].name);
}
var mylist = myLinkName;
var myNewlist = (String(mylist).replace(/,/g, '\r'));
file.encoding = 'UTF-8';
file.open('w');
file.write(myNewlist);
file.close();
alert('Done creating links list!');
Regards,
Mike
Copy link to clipboard
Copied
Hello, could you please make modification of yours script so it would use one report log file for multiple documents.
For example log can be placed at fixed location as root of C (C:\links_log.txt)
Script should make one line name of the file and than list of links followed by separation of few dashes.
Is this very complicated to be done?
Copy link to clipboard
Copied
Hi Mike,
thank you for such a great script! It works fine.
I need also the page number of the image on the list.
Is that possible ?
Best regards
Copy link to clipboard
Copied
Hello,
If you're on a Mac check out the link below....
https://indesignsecrets.com/create-a-list-of-linked-files.php
Regards,
Mike
Copy link to clipboard
Copied
Thank you Mike.