🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: adobe.scripting.indesign
Article #183

Re: Headline caps change for a newspaper

#183
From: jongware
Date: Tue, 31 Mar 2009 13:48
4 lines
1325 bytes
I first tried to mess with JavaScript cased changing -- using the built-in string function toUppercase. Then I remembered ID has a user interface function for title case, and wondered if it was the same in JS. And yes, it was -- Uppercase, Title Case, Sentence Case and Lowercase, appliable to Text, Paragraph, Characters (which is what you'd need) ... and Word. So I don't even have to extract individual characters.
There are no built-in fuctions to automatically add a character style to the first character of certain words.

If the requirements ever change -- adding color, or a font or something to the first character --, then you'd have to work around and add stuff 'manually'. I guess that's what you have in mind.
Technical Details
Message-ID: <59b8751c.5@webcrossing.la2eafNXanI>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
References: <59b8751c.-1@webcrossing.la2eafNXanI>

Show Full Headers
Complete Article Headers
X-Google-Thread: f939a,dfcd816e9c5a52e6
X-Google-Attributes: gidf939a,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: jongware@adobeforums.com
Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news.glorb.com!newshub.sdsu.edu!webcrossing
Newsgroups: adobe.scripting.indesign
Subject: Re: Headline caps change for a newspaper
Message-ID: <59b8751c.5@webcrossing.la2eafNXanI>
Date: Tue, 31 Mar 2009 06:48:39 -0700
References: <59b8751c.-1@webcrossing.la2eafNXanI>
Lines: 12
MIME-Version: 1.0
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit