Article View: adobe.scripting.indesign
Article #15333Re: [AS] applying new page with properties from master, how to use the text frame?
From: Teus_de_Jong
Date: Mon, 08 Dec 2003 18:21
Date: Mon, 08 Dec 2003 18:21
12 lines
1171 bytes
1171 bytes
Gunnar,
Although I'm working under Windows, this should help: in ID CS things work different than in ID2. To use a masterpage item on a particular page, you first have to override the item for that page. So, let's suppose the first masterpageitem on the first page is a textframe. You get that one by using the Apple equivalent of somthing like this:
firstPage = theDoc.Pages.Item(1)
theTextframe = firstPage.Masterpageitems.item(1).override(firstPage)
Teus de Jong
Technical Details
Message-ID:
<2cced0e4.0@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2cced0e4.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,d30fe92800d67816 X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-12-08 10:38:03 PST From: Teus_de_Jong@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: [AS] applying new page with properties from master, how to use the text frame? Message-ID: <2cced0e4.0@webx.la2eafNXanI> Date: Mon, 8 Dec 2003 10:21:04 -0800 References: <2cced0e4.-1@webx.la2eafNXanI> Lines: 11 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit