🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #9900

[VB][CS2] Find MasterPageItem by Label - still bug ??

#9900
From: Robert Tkaczyk
Date: Sun, 16 Jul 2006 14:20
24 lines
1373 bytes
hi

If I good rememeber - in ID 2.0.2 or CS1 - second line doesn't want to work:

Set myTF = myStory.TextFrames.Item(a)
Set myTFompi = 
myTF.Parent.MasterPageItems.Item(myLabel).Override(myTF.Parent)

(I need to get page item from Master Page and override)

I am trying it in CS2 and also doesn't want to work :(

still wasn't this BUG corrected ??


I have my own procedure which is checking all elements on MasterPage - 
is it an only solution?

Set myTF = GetMasterPageObject(myTF, myLabel)

works fine - and if item with specified label exist - it return this 
item, otherwise - it return nothing.

robin
Technical Details
Message-ID: <2DC368AEAECD86F99D3833099E543557@in.webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,48c0048822157fff,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: Robert Tkaczyk <indesignscripts@wp.pl>
Newsgroups: adobe.scripting.indesign
Subject: [VB][CS2] Find MasterPageItem by Label - still bug ??
Message-ID: <2DC368AEAECD86F99D3833099E543557@in.webcrossing.la2eafNXanI>
Date: Sun, 16 Jul 2006 07:20:07 -0700
Lines: 25
User-Agent: Thunderbird 1.5.0.4 (Windows/20060516)
X-Antivirus: avast! (VPS 0628-5, 2006-07-14), Outbound message
X-Antivirus-Status: Clean
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.ecp.fr!news.stben.net!webcrossing