Article View: adobe.scripting.indesign
Article #1837Re: [CS3 JS] Add formatted text
From: loic_aigon
Date: Tue, 20 Jan 2009 09:51
Date: Tue, 20 Jan 2009 09:51
4 lines
800 bytes
800 bytes
//Given a textFrame "myTextFrame" & a character style "myCharStyle"
myTextFrame.contents = "Here is my text";
myTextFrame.texts[0].appliedCharacterStyle = app.activeDocument.characterStyles.item("myCharStyle");
Loic
Technical Details
Message-ID:
<59b78f09.0@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossingReferences:
<59b78f09.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,206da833d0337304 X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: loic_aigon <loic_aigon@yahoo.fr> Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: [CS3 JS] Add formatted text Message-ID: <59b78f09.0@webcrossing.la2eafNXanI> Date: Tue, 20 Jan 2009 01:51:55 -0800 References: <59b78f09.-1@webcrossing.la2eafNXanI> Lines: 5 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit