🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #20737

Re: Applescript: make a text frame on a master page

#20737
From: Dave Saunders
Date: Tue, 04 Jun 2002 12:46
9 lines
1183 bytes
One of the issues of working in a script with master frames that have been released to a live page is the possible need to rerun the script. 

You need to do something like: 

try  set myFrame to text frame whose label is "Main box" on error  set myFrame to master page item 1 whose label is "Main box" end try 

I used this recently in a script that made (and then updated) running heads. 

Dave
Technical Details
Message-ID: <ef8e3b9.4@WebX.aaQKaf7vad4>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!telocity-west!TELOCITY!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <ef8e3b9.-1@WebX.aaQKaf7vad4>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,8e47b5875d947fcb
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-06-04 06:08:15 PST
From: "Dave Saunders" <daves@pdsassoc.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!telocity-west!TELOCITY!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!fr.clara.net!heighliner.fr.clara.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Applescript: make a text frame on a master page
Message-ID: <ef8e3b9.4@WebX.aaQKaf7vad4>
Date: Tue, 4 Jun 2002 05:46:12 -0700
References: <ef8e3b9.-1@WebX.aaQKaf7vad4>
Lines: 15
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit