Article View: adobe.scripting.indesign
Article #77[JS CS4] how to add text to a rectangle
From: Keith_Gilbert
Date: Fri, 27 Mar 2009 20:15
Date: Fri, 27 Mar 2009 20:15
15 lines
1028 bytes
1028 bytes
I understand that I can add text to a text frame with: myTextFrame.contents = "this is text" which works as long as myTextFrame is indeed a textFrame. However, now I have a rectangle, for which I have converted the content type to Text, via: myGraphicFrame.contentType = ContentType.TEXT_TYPE So why can't I now add text to the frame with: myGraphicFrame.contents = "this is text" ?
Technical Details
Message-ID:
<59b86e58.-1@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news.glorb.com!news.astraweb.com!border2.newsrouter.astraweb.com!newshub.sdsu.edu!webcrossingShow Full Headers
Complete Article Headers
X-Google-Thread: f939a,579a7bc3bb22152,start X-Google-Attributes: gidf939a,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Keith_Gilbert@adobeforums.com Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news2.google.com!news.glorb.com!news.astraweb.com!border2.newsrouter.astraweb.com!newshub.sdsu.edu!webcrossing Newsgroups: adobe.scripting.indesign Subject: [JS CS4] how to add text to a rectangle Message-ID: <59b86e58.-1@webcrossing.la2eafNXanI> Date: Fri, 27 Mar 2009 13:15:06 -0700 Lines: 16 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit