Article View: adobe.scripting.indesign
Article #134Add Formatted Text
From: Chris_Van_Jones
Date: Thu, 02 Apr 2009 16:39
Date: Thu, 02 Apr 2009 16:39
9 lines
998 bytes
998 bytes
Hello, I am trying to create a series of scripts to be used in a template that add/insert formatted text at a cursors location. So far, I have created the following script: app.selection[0].paragraphs[0].insertionPoints[0].contents = 'Voiceover' This works just fine, but how do I get this text to automatically select a Paragragh style I have defined. Thanks!
Technical Details
Message-ID:
<59b87b8f.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,15d68b48193a17a0,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Chris_Van_Jones@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news1.google.com!npeer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Add Formatted Text Message-ID: <59b87b8f.-1@webcrossing.la2eafNXanI> Date: Thu, 2 Apr 2009 09:39:15 -0700 Lines: 13 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit