Article View: adobe.scripting.indesign
Article #1322Re: Extracting info from Links panel
From: Kristi_Sunberg
Date: Mon, 09 Feb 2009 21:23
Date: Mon, 09 Feb 2009 21:23
10 lines
1091 bytes
1091 bytes
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[i].itemLink.filePath).name + '\t'; data += g[i].itemLink.parent.absoluteHorizontalScale + ','; data += g[i].itemLink.parent.absoluteVerticalScale; f.writeln (data) }
f.close();
Technical Details
Message-ID:
<59b7d3ce.2@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossingReferences:
<59b7d3ce.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,bd0091c62c2e8cba X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Kristi_Sunberg@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: Extracting info from Links panel Message-ID: <59b7d3ce.2@webcrossing.la2eafNXanI> Date: Mon, 9 Feb 2009 13:23:59 -0800 References: <59b7d3ce.-1@webcrossing.la2eafNXanI> Lines: 18 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit