Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Change case of letters to Title Case within a Paragraph Style

Explorer ,
Feb 13, 2024 Feb 13, 2024

I have typeset a book that has many titles. The titles are all in SENTENCE CASE ie first letter of title in in caps, the rest are all lowercase. I have set a style for the titles. Individually it is possible to change each title to TITLE CASE by rightclicking and changing the case to TITLE CASE.

Is it possible to change this through the paragraph style so that I dod not have to manually go through each title and change it?

TOPICS
Type
1.0K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Contributor ,
Feb 13, 2024 Feb 13, 2024

Unfortunately not.

It is a feature request since 2017 (at least).

See Adobe InDesign UserVoice

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 13, 2024 Feb 13, 2024

There are many scripts that can do this. For example:

https://www.marspremedia.com/software/indesign/change-letter-case

Mike Witherell
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Feb 13, 2024 Feb 13, 2024
LATEST

Hi @tully1254 
I hope this helps.

var myDoc = app.activeDocument;

app.findTextPreferences = app.changeTextPreferences = NothingEnum.nothing;

app.findTextPreferences.appliedParagraphStyle = "Subhd";// Please change your style name 
  
var myFinds = myDoc.findText();

for (var i = 0; i < myFinds.length; i++) {

   myFinds[i].texts[0].changecase(ChangeCaseOptions.UPPERCASE);

  }	

app.findTextPreferences = app.changeTextPreferences = NothingEnum.nothing;
Thanks,
Prabu
Design smarter, faster, and bolder with InDesign scripting.
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines