🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19783

Re: Database Driven Catalog - ???

#19783
From: Olav Kvern
Date: Thu, 21 Nov 2002 21:43
9 lines
1363 bytes
Brian-- 

That's what the majority of the script does--find the text location relative to page coordinates. Because alignment plays a big part in the text location inside a frame, we have to try to cover text frames containing multiple alignments, indent levels, etc. 

I'm not sure you should ignore any of it if you're trying to shrink a text frame to the text it contains. You should be able to take the subroutine(s) that do the text frame resizing and add it to your script. (You can skip all of the stuff at the start--the part that tries to determine what the selection is.) 

Thanks, 

Ole
Technical Details
Message-ID: <1de69529.44@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de69529.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,4348409c0a586298
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-11-21 14:07:50 PST
From: "Olav Kvern" <okvern@adobe.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!newsswitch.lcs.mit.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: Database Driven Catalog - ???
Message-ID: <1de69529.44@WebX.la2eafNXanI>
Date: Thu, 21 Nov 2002 13:43:50 -0800
References: <1de69529.-1@WebX.la2eafNXanI>
Lines: 16
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit