🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #18155

Re: [VB] Getting something form MasterPage to "normal" page

#18155
From: Jens Schulze
Date: Thu, 17 Apr 2003 00:17
21 lines
1775 bytes
"InDesign Scripts" wrote:

> I can't unlik via MasterPageItems because, I don't have associated with
myPage.MasterPageItems any object (<No Variables>).

The object is there, the problem is that it doesn't show an item collection
like the other objects, search the forum for "masterpageitems" should bring
you some statements and example code of Olav Kvern about this topic. So I
decided to free up all page items on the master pages with the following
code, except for lines:

for each object in myPage.MasterPageItems
    if (TypeName(object) <> "Guide") ans (TypeName(object) <> "Line") and
(object.label <> "") then
        object.unlink idMasterSpread
    end if
next 'object

This code works for me in two projects.

Jens
Technical Details
Message-ID: <EBCD92CB95599BA906E3DD91CD47D65F@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!64.152.100.70.MISMATCH!sjc70.webusenet.com!c03.atl99!news.webusenet.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de8c19a.-1@WebX.la2eafNXanI> <1de8c19a.2@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,5881719d2c20c7b
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-04-16 17:37:34 PST
From: "Jens Schulze" <news@trickbetrueger.org>
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!64.152.100.70.MISMATCH!sjc70.webusenet.com!c03.atl99!news.webusenet.com!news.maxwell.syr.edu!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: [VB] Getting something form MasterPage to "normal" page
Message-ID: <EBCD92CB95599BA906E3DD91CD47D65F@in.WebX.la2eafNXanI>
Date: Wed, 16 Apr 2003 17:17:54 -0700
References: <1de8c19a.-1@WebX.la2eafNXanI> <1de8c19a.2@WebX.la2eafNXanI>
Lines: 23
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