🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #10205

Re: [JS] Getting the current page # or moving to another page by #

#10205
From: Robert Tkaczyk
Date: Tue, 27 Jun 2006 22:02
13 lines
1313 bytes
> 1. Get the current page # in the current open document (nothing is selected on the page by default)

in VB:
myInDesign.ActiveWindow.ActivePage
gives you reference to ActivePage

> 2. Move to the page # specified in each .PIL file as I loop through the array of filenames (I'll have opened each file, read in the coordinate/page# line)

in VB:
Set myTextFrame = myDoc.Pages.Item(a).TextFrames.Add
myTextFrame.GeometricBounds = Array(top,left,bottom,right)

robin
Technical Details
Message-ID: <27B02CA39EE1E449D06E00303DCB653B@in.webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing
References: <3bc0bc76.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,431b35fbb1ae6739
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Robert Tkaczyk <indesignscripts@wp.pl>
Newsgroups: adobe.scripting.indesign
Subject: Re: [JS] Getting the current page # or moving to another page by #
Message-ID: <27B02CA39EE1E449D06E00303DCB653B@in.webcrossing.la2eafNXanI>
Date: Tue, 27 Jun 2006 15:02:56 -0700
References: <3bc0bc76.-1@webcrossing.la2eafNXanI>
Lines: 16
User-Agent: Thunderbird 1.5.0.4 (Windows/20060516)
X-Antivirus: avast! (VPS 0626-1, 2006-06-27), Outbound message
X-Antivirus-Status: Clean
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news4.google.com!news2.volia.net!news.musoftware.de!news.albasani.net!news.ecp.fr!news.stben.net!webcrossing