🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #14539

[AS] Overriding Master Page Items in CS

#14539
From: Tom_Hess
Date: Tue, 27 Jan 2004 23:47
7 lines
1545 bytes
I have a script written for 2.x that used a template file to generate a form with master page items that would be filled with text (from another source) in a new page that used the applied master. It used to be that you could simply refer to the master page items of page [x] and they would become page items on that page.

Having upgraded to CS, I'm going through my old scripts to root out any changes in syntax.

I have seen the command method "override" that purports to do what I need for CS, but when I open the template, apply the master spread to the resulting untitled document, then tell that spread to list the page items, it returns an empty list. I can get a list of the master page items for page [x], but when I try to override items in that list, I get an AS errmsg "Some parameter not understood".

Anyone using this sort of construct who can clue me to the proper syntax?
Technical Details
Message-ID: <2ccf9dab.-1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!logbridge.uoregon.edu!xmission!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!webx

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,7e09fe029d791757,start
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2004-01-27 16:07:46 PST
From: Tom_Hess@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!logbridge.uoregon.edu!xmission!nntp.infostrada.it!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: [AS] Overriding Master Page Items in CS
Message-ID: <2ccf9dab.-1@webx.la2eafNXanI>
Date: Tue, 27 Jan 2004 15:47:07 -0800
Lines: 18
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit