Article View: adobe.scripting.indesign
Article #16849[VB] Alteration on Paragraph.TextContents isn't reflected in object model
From: Jens Schulze
Date: Thu, 31 Jul 2003 09:44
Date: Thu, 31 Jul 2003 09:44
19 lines
1764 bytes
1764 bytes
Dear fellow scripters, I have the problem that I add text in front of existing text content in a paragraph with this code of line: myActualParagraph.TextContents = Me.txtFillText.Text & myActualParagraph.TextContents Directly afterwards I try to access the TextContents and Characters of this paragraph, but ID refuses to show me the new content even when in the actual document I can see the made change, it only shows me the old content before the addition. So it seems only when I change the paragraph the alteration of the text content is reflected by the object model provided my InDesign... can any VB programmer out there counterproof this issue? I can do a workaround to switch on the paragraphs forward and then directly back, but this isn't the style of programming i prefer. Jens
Technical Details
Message-ID:
<370F0F6BE5E413811BC789EAB1A3127D@in.WebX.la2eafNXanI>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebXShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f939a,1423a92aa3a5942,start X-Google-Attributes: gidf939a,public X-Google-ArrivalTime: 2003-07-31 03:08:10 PST From: "Jens Schulze" <adobeforums@trickbetrueger.org> Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-01!sn-xit-09!supernews.com!diablo.theplanet.net!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!eusc.inter.net!newsfeed01.sul.t-online.de!t-online.de!WebX Newsgroups: adobe.scripting.indesign Subject: [VB] Alteration on Paragraph.TextContents isn't reflected in object model Message-ID: <370F0F6BE5E413811BC789EAB1A3127D@in.WebX.la2eafNXanI> Date: Thu, 31 Jul 2003 02:44:27 -0700 Lines: 22 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit