Article View: adobe.scripting.indesign
Article #16858Re: VB changing TextForm style
From: Ralph Stirling
Date: Thu, 24 Jul 2003 00:49
Date: Thu, 24 Jul 2003 00:49
17 lines
1420 bytes
1420 bytes
Thanks, Max. I did indeed discover the InsertionPoint approach just before I read your reply. My working code looks like: Set TF2 = myDocument.Spreads.Item(1).TextFrames.Add TF2.InsertionPoints.Item(1).CharacterStyle = captionStyle TF2.TextContents = kidname & Chr(13) & home & Chr(13) & dates The Paragraph object is either very obtuse in its behavior, or is simply broken, as I don't see why my original approach didn't work. I still wish the Scripting Guide had some discussion about the different objects, how they interact, and when to use the different kinds that seem to have overlapping definitions. -- Ralph
Technical Details
Message-ID:
<1dea04ab.1@WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!WebXReferences:
<1dea04ab.-1@WebX.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,f0528502556bc92c X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-07-23 18:08:03 PST From: "Ralph Stirling" <stirra@wwc.edu> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-06!sn-xit-08!supernews.com!small1.nntp.aus1.giganews.com!border1.nntp.aus1.giganews.com!nntp.giganews.com!newsfeed.arcor-online.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: Re: VB changing TextForm style Message-ID: <1dea04ab.1@WebX.la2eafNXanI> Date: Wed, 23 Jul 2003 17:49:23 -0700 References: <1dea04ab.-1@WebX.la2eafNXanI> Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit