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

Applying 3 Paragraph Styles automatically?

Participant ,
Sep 18, 2019 Sep 18, 2019

Copy link to clipboard

Copied

In my document, I have 3 lines of text. Each line is using a different paragraph style: (Line 1, Line 2, Line 3). I am wondering if it's possible to copy 3 unformatted lines of text (from a Word doc) and paste them into my document, and have InDesign apply to 3 paragraph styles automatically.

 

I vaguely recall a feature that allowed us link together different paragraph styles (e.g. Line 1 = paragraph style A; Line 2 = paragraph style B, etc) but can't find it anymore.

 

Sample image of the text attached.

 

Thanks!

Views

385

Translate

Translate

Report

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 ,
Sep 18, 2019 Sep 18, 2019

Copy link to clipboard

Copied

I vaguely recall a feature

 

That would be Next Style:

clipboard_image_1.png

http://davethedesigner.net/styletut1/

 

 

Votes

Translate

Translate

Report

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 ,
Sep 18, 2019 Sep 18, 2019

Copy link to clipboard

Copied

Votes

Translate

Translate

Report

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
Mentor ,
Sep 18, 2019 Sep 18, 2019

Copy link to clipboard

Copied

LATEST

Put your cursor anywhere in the first paragraph, and run this simple javascript (sure, check your style names first. I used Line 1, Line 2, Line 3). If your text frame begins with those 3 paras, it's enough to just select that text frame, and run the script.

 

 

mySel=app.selection[0];
p = mySel.paragraphs[0]; p.appliedParagraphStyle="Line 1";
p = p.insertionPoints[-1].paragraphs[0]; p.appliedParagraphStyle="Line 2";
p = p.insertionPoints[-1].paragraphs[0]; p.appliedParagraphStyle="Line 3";

 

 

Votes

Translate

Translate

Report

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