🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17346

Re: How to know if a page is verso or recto?

#17346
From: Johannes Buchmann
Date: Thu, 12 Jun 2003 18:32
41 lines
2107 bytes
Hi,


maybe this is a way that should ALWAYS work?:
(margins seems to be a good idea - but i need to set a mag whis has
inner=outer margin)

just place an item (any invisible like empty text frame)
 on masterspreads pages item 1 (always left one right?)
with label "verso"

and then you can test for existance of the pages MasterSpreadItem with
that label "verso"

...and now I am stuck...

because i cant access MasterPageItems

when I try

    For i = 1 To objPage.MasterPageItems.AllPageItems.Count
        If objPage.MasterPageItems.AllPageItems.Item(i).Label ="verso" Then
            boolIsMarked = True
            Exit For
        End If
    Next

it does not work (MasterPageItems is not found..)

if I view the page- Objekt in VB debugger there are no MasterPageItems

BUT: when i drag the masterpage onto the page in GUI (while Debugger
is running)
 MasterPageItems appear in debugger window...

What am I doing wrong? Does anybody know in which cases
MasterPageItems are not available?

TIA

Johannes
Technical Details
Message-ID: <100B6A196F4681860EDF0ABDB4C70E07@in.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!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newshosting.com!news-xfer1.atl.newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de944a9.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,773d8af0ffb694fa
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-06-12 11:38:05 PST
From: "Johannes Buchmann" <johannesbuchmann@hotmail.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!38.144.126.76.MISMATCH!feed2.newsreader.com!newsreader.com!newshosting.com!news-xfer1.atl.newshosting.com!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: How to know if a page is verso or recto?
Message-ID: <100B6A196F4681860EDF0ABDB4C70E07@in.WebX.la2eafNXanI>
Date: Thu, 12 Jun 2003 11:32:47 -0700
References: <1de944a9.-1@WebX.la2eafNXanI>
Lines: 43
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2720.3000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2727.1300
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit