🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #17444

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

#17444
From: johannes
Date: Thu, 12 Jun 2003 13:54
30 lines
1564 bytes
Hi again,

...and now I am stuck...

because i cant access MasterPageItems

if 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: <e553fe8f.0306120554.5642d317@posting.google.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
References: <1de944a9.-1@WebX.la2eafNXanI> <1de944a9.4@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 06:54:44 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!postnews1.google.com!not-for-mail
From: johannesbuchmann@hotmail.com (johannes)
Newsgroups: adobe.scripting.indesign
Subject: Re: How to know if a page is verso or recto?
Date: 12 Jun 2003 06:54:43 -0700
Organization: http://groups.google.com/
Lines: 30
Message-ID: <e553fe8f.0306120554.5642d317@posting.google.com>
References: <1de944a9.-1@WebX.la2eafNXanI> <1de944a9.4@WebX.la2eafNXanI>
NNTP-Posting-Host: 192.129.25.10
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1055426084 20674 127.0.0.1 (12 Jun 2003 13:54:44 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: 12 Jun 2003 13:54:44 GMT