🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #1324

Re: Extracting info from Links panel

#1324
From: Peter Kahrel
Date: Mon, 09 Feb 2009 22:34
22 lines
1082 bytes
an itemLink's greatgrandparent is a page:



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 + '\t'; 
   data += g[i].itemLink.parent.parent.parent.name; 
   f.writeln (data) 
   }

f.close();



Peter
Technical Details
Message-ID: <59b7d3ce.3@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
References: <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: "Peter Kahrel" <kahrel@kahrel.plus.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Extracting info from Links panel
Message-ID: <59b7d3ce.3@webcrossing.la2eafNXanI>
Date: Mon, 9 Feb 2009 14:34:46 -0800
References: <59b7d3ce.-1@webcrossing.la2eafNXanI>
Lines: 20
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit