🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18532

get current page / active page? [AS]

#18532
From: Chris Baier
Date: Thu, 20 Mar 2003 13:11
21 lines
1830 bytes
This is probably a simple question, but I've tried everything to get a reference to the current (active) page or a spread (without having an item selected).

(I've even done a search in this forum for "current page" and "page" with -no- results for either. I can't believe there are no threads with the word "page" in them.)

How do I get a reference to the current page without an object on it being selected? I want to draw guidelines on whichever page may currently be active.

I've tried (in proper syntax, of course; these examples show how I'm trying to reference the page and may not exactly be worded correctly):

get current page of active document

get active page of active document

get active/current page of active spread of active window

I can get :

page 1 of active spread of active window

pages of active spread of active window

My next idea is to get the pages of the current spread then ask the user to choose a specific page from the list of those pages, but that doesn't sound very nice.
Technical Details
Message-ID: <1de860ec.-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-08!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!proxad.net!proxad.net!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!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,8bf39a41a2ae0c72,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-03-20 05:37:38 PST
From: "Chris Baier" <chris.baier@us.pwcglobal.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-08!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!proxad.net!proxad.net!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: get current page / active page? [AS]
Message-ID: <1de860ec.-1@WebX.la2eafNXanI>
Date: Thu, 20 Mar 2003 05:11:08 -0800
Lines: 30
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit