Article View: adobe.scripting.indesign
Article #16459Re: AS getting placed file size
From: Dave Saunders
Date: Thu, 04 Sep 2003 21:13
Date: Thu, 04 Sep 2003 21:13
12 lines
1310 bytes
1310 bytes
You can derive that from the placed PDF, which is the parent of the link: tell application "InDesign 2.0.2" set myPDF to parent of link 1 of document 1 set myBounds to geometric bounds of myPDF set myHorizScale to horizontal scale of myPDF set myVertScale to vertical scale of myPDF set myPDFheight to (item 3 of myBounds - item 1 of myBounds) * 100 / myVertScale set myPDFwidth to (item 2 of myBounds - item 0 of myBounds) * 100 / myHorizScale end tell Dave
Technical Details
Message-ID:
<2ccd4083.2@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!151.189.0.75.MISMATCH!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2ccd4083.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,d5910cceeb7cd0a6 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-09-04 14:37:51 PST From: "Dave Saunders" <daves@pdsassoc.com> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-05!sn-xit-08!supernews.com!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!151.189.0.75.MISMATCH!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: AS getting placed file size Message-ID: <2ccd4083.2@webx.la2eafNXanI> Date: Thu, 4 Sep 2003 14:13:33 -0700 References: <2ccd4083.-1@webx.la2eafNXanI> Lines: 15 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit