🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #8858

Any ideas on how to get at the MasterPageItems?

#8858
From: StevenLmas
Date: Thu, 21 Sep 2006 20:20
19 lines
1172 bytes
I'm working in VB and trying to do something similar to the "Add a page"
script except I want to add a new page and flow the text into the master text frame on the new page, not create a new frame.

MyDoc.Pages(1).Frames.Count

doesn't return any frames on the page if there's only a master frame.

arr = MyDoc.Pages(1).MasterPageItems

errors when running the code...

We typeset books so we need a fast way to add pages and flow into
master frames quickly but we can't seem to find a way around this
problem and be able to script\automate InDesign.

Any ideas would be musch appreciated!

Thanks,
Steven Lee
Technical Details
Message-ID: <3bc1baa8.-1@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.isoc.lu!webcrossing

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,48336fd92bbda446,start
X-Google-Attributes: gidf939a,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: StevenLmas@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.germany.com!news.isoc.lu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Any ideas on how to get at the MasterPageItems?
Message-ID: <3bc1baa8.-1@webcrossing.la2eafNXanI>
Date: Thu, 21 Sep 2006 13:20:08 -0700
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit