Article View: adobe.scripting.indesign
Article #1836[CS3 JS] Add formatted text
From: Bal�zs_Slemmer
Date: Tue, 20 Jan 2009 09:41
Date: Tue, 20 Jan 2009 09:41
11 lines
1180 bytes
1180 bytes
I'm working on a kind of templating script. This script adds text to the document depending on some input data, so the text can be almost anything. My question is whether there is a convenient way to add formatted text to eg. a given text frame. By formatted I mean a character style applied to it. I can think of a solution like inserting the text, then find it and then apply the character style. Is there a simplier way, by which I mean a built in function or so? Or has someone already written such a function? If not then this work is waiting for me, and when ready I'll share the results :) Thanks in advance for your help! Bal�zs
Technical Details
Message-ID:
<59b78f09.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,206da833d0337304,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII From: Bal�zs_Slemmer@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: [CS3 JS] Add formatted text Message-ID: <59b78f09.-1@webcrossing.la2eafNXanI> Date: Tue, 20 Jan 2009 01:41:31 -0800 Lines: 17 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit