🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #19553

Re: adding a text frame inside a text frame

#19553
From: Dave Saunders
Date: Thu, 05 Dec 2002 22:31
11 lines
1662 bytes
You should be able to just set the properties of mynewframe. The only thing to watch out for is that the sizing properties are such that it will fit in the frame (you don't have to worry much about width, but the height must fit in the containing frame).

Also, you might find that after you set the size (by changing the bounds) that the actual bounds are different because of interactions with the text setting -- your frame is a character.

Actually, looking at your script, I'm not so sure that it is inline. Selecting the insertion point won't isn't enough to make the new text frame at the insertion point.

In fact, I think you do have to copy and paste to do this.

(Or use Ole's trick of importing a temporary graphic as an inline, then delete the graphic (but not its frame), then change the content type of the frame to text and then type text into the frame).

Dave
Technical Details
Message-ID: <1de6e43b.0@WebX.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX
References: <1de6e43b.-1@WebX.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f939a,1b85a7ac7e50be86
X-Google-Attributes: gidf939a,public
X-Google-ArrivalTime: 2002-12-05 14:37:43 PST
From: "Dave Saunders" <daves@pdsassoc.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!WebX
Newsgroups: adobe.scripting.indesign
Subject: Re: adding a text frame inside a text frame
Message-ID: <1de6e43b.0@WebX.la2eafNXanI>
Date: Thu, 5 Dec 2002 14:31:49 -0800
References: <1de6e43b.-1@WebX.la2eafNXanI>
Lines: 20
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit