🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #14685

Re: class texts (collection) (VB)

#14685
From: Gerd_Walther
Date: Wed, 21 Jan 2004 09:52
12 lines
1012 bytes
In a for-next-loop the following instructs processed.

Set myInsertPoint = myTextFrame.ParentStory.InsertionPoints.Item(-1)
    Set myText = myInsertPoint.Texts.Item(1)
    myText.Contents = "content 1 ......"

and so on.
But always is the item number of

myTextFrame.Texts.item = 1.

How can I add a Text-object to the TextFrame-object?
Technical Details
Message-ID: <2ccf61d8.1@webx.la2eafNXanI>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!webx
References: <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-21 02:07:38 PST
From: Gerd_Walther@adobeforums.com
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newsfeed01.sul.t-online.de!t-online.de!webx
Newsgroups: adobe.scripting.indesign
Subject: Re: class texts (collection) (VB)
Message-ID: <2ccf61d8.1@webx.la2eafNXanI>
Date: Wed, 21 Jan 2004 01:52:22 -0800
References: <2ccf61d8.-1@webx.la2eafNXanI>
Lines: 13
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit