Article View: adobe.scripting.indesign
Article #8616Re: [JS] Changing the case of a variable
From: Dave_Saunders
Date: Sat, 30 Sep 2006 23:31
Date: Sat, 30 Sep 2006 23:31
7 lines
825 bytes
825 bytes
changecase is a method and you want it to work on the object, so: myWord.changecase(ChangecaseMode.lowercase); Remember, the contents of a text item is a JavaScript string, so InDesign methods don't work on the contents property. Dave
Technical Details
Message-ID:
<3bc1d288.3@webcrossing.la2eafNXanI>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.isoc.lu!webcrossingReferences:
<3bc1d288.-1@webcrossing.la2eafNXanI>Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,aa98ef296736c219 X-Google-Attributes: gidf939a,public X-Google-Language: ENGLISH,ASCII-7-bit From: Dave_Saunders@adobeforums.com Path: arc1-ca.pugleaf.net!g2news2.google.com!news3.google.com!news.glorb.com!news.isoc.lu!webcrossing Newsgroups: adobe.scripting.indesign Subject: Re: [JS] Changing the case of a variable Message-ID: <3bc1d288.3@webcrossing.la2eafNXanI> Date: Sat, 30 Sep 2006 16:31:29 -0700 References: <3bc1d288.-1@webcrossing.la2eafNXanI> Lines: 8 MIME-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 8bit