Article View: adobe.scripting.indesign
Article #14588Re: class texts (collection) (VB)
From: Olav_Kvern
Date: Thu, 22 Jan 2004 21:43
Date: Thu, 22 Jan 2004 21:43
21 lines
1287 bytes
1287 bytes
Gerd-- You add text to the end of a story (or text frame) by changing the contents of the last insertion point. Rem Given a text frame "myTextFrame" that already contains some text: myTextFrame.InsertionPoints.Item(-1).Contents = vbCr & "This is a new paragraph." & vbCr & "This is another new paragraph." You might want to use: myTextFrame.ParentStory.InsertionPoints.Item(-1) ...instead. If the text frame overflows or is not the last text frame in the story, using myTextFrame.InsertionPoints.Item(-1).Contents will insert the text in existing text, rather than adding it to the end of the story. Thanks, Ole
Technical Details
Message-ID:
<2ccf61d8.2@webx.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webxReferences:
<2ccf61d8.-1@webx.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,73134234a432d3be X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2004-01-22 14:07:52 PST From: Olav_Kvern@adobeforums.com Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!webx Newsgroups: adobe.scripting.indesign Subject: Re: class texts (collection) (VB) Message-ID: <2ccf61d8.2@webx.la2eafNXanI> Date: Thu, 22 Jan 2004 13:43:15 -0800 References: <2ccf61d8.-1@webx.la2eafNXanI> Lines: 21 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit