🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #16293

Re: AS - placing multiple page PDFs

#16293
From: Shane_Stanley
Date: Wed, 01 Oct 2003 22:40
21 lines
1492 bytes
On 2/10/03 4:24 AM +1000, Rich Carroll, carrollr@cappsdigital.com, wrote:

> Is there any way within InDesign to determine if a PDF is multi page

Not really. You have to either parse the PDF file or check via Acrobat.

> how would you place subsequent pages of the same PDF?

Use the "PDF place preferences", like so:

tell application "InDesign 2.0.2"
 repeat with i from 1 to 10
  tell PDF place preferences
   set page number to i
  end tell
  -- place a pdf on a document page
 end repeat
end tell

-- 
Shane Stanley,  sstanley@myriad-com.com.au
Technical Details
Message-ID: <BBA194FC.681B7%sstanley@myriad-com.com.au>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newshosting.com!news-xfer1.atl.newshosting.com!diablo.voicenet.com!in.100proofnews.com!in.100proofnews.com!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccd98b9.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,2ec79d4aedb53663
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-10-01 16:08:10 PST
From: Shane_Stanley@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newshosting.com!news-xfer1.atl.newshosting.com!diablo.voicenet.com!in.100proofnews.com!in.100proofnews.com!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: AS - placing multiple page PDFs
Message-ID: <BBA194FC.681B7%sstanley@myriad-com.com.au>
Date: Wed, 1 Oct 2003 15:40:29 -0700
References: <2ccd98b9.-1@webx.la2eafNXanI>
Lines: 23
User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.0.6
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit