Skip to main content
Participant
February 9, 2009
Question

Extracting info from Links panel

  • February 9, 2009
  • 13 replies
  • 977 views
Has anyone come up with a way to extract the information in the Links panel?

I would love to be able to get a list of all links, the page number they are on and scaling percentages.
This topic has been closed for replies.

13 replies

Participant
February 9, 2009
Peter,
The script at the link helped a lot. I took out the info that I didn't need for the coordinates but is it possible to add a page number to help identify the link?

f = new File ('~/coordinates.txt');
f.open ('w');

g = app.activeDocument.allGraphics;
for (i = 0; i < g.length; i++)
{
data = File(g.itemLink.filePath).name + '\t';
data += g.itemLink.parent.absoluteHorizontalScale + ',';
data += g.itemLink.parent.absoluteVerticalScale;
f.writeln (data)
}

f.close();
Peter Kahrel
Community Expert
Community Expert
February 9, 2009
Kristi,

A script was posted a while ago that may work for you. See here: http://www.adobeforums.com/webx/.3c063998/0

Peter
Inspiring
February 9, 2009
It is somewhere between easy and trivial depending on your experience.

It also matters which version of InDesign you're using and what scripting language you had in mind.

Dave