🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19287

Determine the page number of placed PDF with AppleScript

#19287
From: Jo Rensing
Date: Fri, 03 Jan 2003 16:56
11 lines
1311 bytes
Hello!

I have the following question: is there a way, to determine the ACTUAL page number of a placed PDF (that contains multiple pages).

e.g., if page 5 of the PDF is placed in a rectangle in InDesign 2, how can I determine the "5" in an AppleScript?

I need to know this, because I'm writing a script, where Photoshop automatically processes PDF's, whose rectangles are selected in InDesign. But to tell Photoshop to open the appropiate page, I need to know the page number!

So is there a way to find out?

Regards, Joachim Rensing
Technical Details
Message-ID: <1de73854.-1@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,21deec20c2248b98,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-01-03 09:08:18 PST
From: "Jo Rensing" <info@rensing-agentur.de>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!proxad.net!newsfeed.tpinternet.pl!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Determine the page number of placed PDF with AppleScript
Message-ID: <1de73854.-1@WebX.la2eafNXanI>
Date: Fri, 3 Jan 2003 08:56:16 -0800
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit