🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19102

Re: tell text frame "Label" of page not possible - (AS)

#19102
From: Olav Kvern
Date: Fri, 17 Jan 2003 17:44
17 lines
1775 bytes
Olivier--

re: "Is your solution is quicker than create each box I need ???"

For your script, the best thing to do is probably to find the index of the master page item you want, then "hardwire" the script to override that item each time. The script above is a general purpose script that needs to find an arbitrary text frame by its label.

If you *know* the index of a master page item, there's no need to go to the trouble of finding it--just refer to it directly to override it and create a copy of the item on a document page.

That said, note that the performance of your script can probably be improved in other ways. If you're currently moving one record or field at a time from your database, it might be easier/faster to have your database emit tagged text which could then be placed as a single story. You'd have to link all the text frames, but it would still be faster.

re: "Will this problem, in the future, be fixed???"

I am fairly certain it will be.

Thanks,

Ole
Technical Details
Message-ID: <1de760bc.2@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de760bc.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,9453c504c7e28b9b
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2003-01-17 10:07:52 PST
From: "Olav Kvern" <okvern@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: tell text frame "Label" of page not possible - (AS)
Message-ID: <1de760bc.2@WebX.la2eafNXanI>
Date: Fri, 17 Jan 2003 09:44:59 -0800
References: <1de760bc.-1@WebX.la2eafNXanI>
Lines: 26
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit