🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #16491

Re: [VB]Place a Frame on the current page

#16491
From: Jens Schulze
Date: Wed, 10 Sep 2003 14:46
14 lines
1592 bytes
"Eelko Heuvelmans" wrote:

> But i can't find something like Pages.Current or something like it.
> Anyone a hint how to get to the current page, or am i thinking to
difficult? :-)

The only think to obtain even the region of the actual page is the
Document.Window.ActiveSpread object... but maybe you can try to obtain via
document.window.selection the actual selected object, and try to use the
parent method (maybe multiple times) to get the page object [via
typename(object) = "page"].
Hope this has inspired you.

Jens
Technical Details
Message-ID: <663D691402C89399EEF9DA6D3463DF89@in.webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news-xfer2.atl.newshosting.com!63.218.45.10.MISMATCH!newshosting.com!news-xfer1.atl.newshosting.com!news-out.superfeed.net!propagator2-maxim!news-in.superfeed.net!xmission!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!webx
References: <2ccd6297.-1@webx.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,309e8a3ae2f5388b
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-09-10 08:08:16 PST
From: "Jens Schulze" <adobeforums@trickbetrueger.org>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news-xfer2.atl.newshosting.com!63.218.45.10.MISMATCH!newshosting.com!news-xfer1.atl.newshosting.com!news-out.superfeed.net!propagator2-maxim!news-in.superfeed.net!xmission!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: [VB]Place a Frame on the current page
Message-ID: <663D691402C89399EEF9DA6D3463DF89@in.webx.la2eafNXanI>
Date: Wed, 10 Sep 2003 07:46:22 -0700
References: <2ccd6297.-1@webx.la2eafNXanI>
Lines: 16
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit