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

Select all text from one paragraph or character style

Community Beginner ,
Jan 26, 2022 Jan 26, 2022

Copy link to clipboard

Copied

Is there a way to select all text from one paragraph or character style in InDesign?

I search the forum and see that there are some scripts but I faild to use them and I would be grateful if someone could explain this to me.

Thanks!

TOPICS
How to , Scripting , Type

Views

497

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 ,
Jan 26, 2022 Jan 26, 2022

Copy link to clipboard

Copied

Hi @славишап52914384, can you give us a bit more information? What do you plan to do with the text? You can't actually "select" it because you can't select non-consecutive text ranges.

- Mark

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 Beginner ,
Jan 26, 2022 Jan 26, 2022

Copy link to clipboard

Copied

I have many text frames on one page and some frames are inside some objects (circle or rectangle) and I want to select all text on that page to can outline them. All text frames are in one layer and I can select them by clicking on a small layer rectangle but text inside the object can't be selected so I need a way to select that text at once based on the paragraph or character style applied to that text if possible.

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 ,
Jan 26, 2022 Jan 26, 2022

Copy link to clipboard

Copied

I want to select all text on that page to can outline them

Why would you want to outline the text? A printer requisit?

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 Beginner ,
Feb 03, 2022 Feb 03, 2022

Copy link to clipboard

Copied

Yes.

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 ,
Jan 26, 2022 Jan 26, 2022

Copy link to clipboard

Copied

A MUCH better way to outline text is to export to PDF and do the outlining in Acrobat.

https://community.adobe.com/t5/acrobat-discussions/why-wont-my-fonts-outline/td-p/10279598

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 Beginner ,
Feb 03, 2022 Feb 03, 2022

Copy link to clipboard

Copied

Thanks Peter!

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 ,
Jan 26, 2022 Jan 26, 2022

Copy link to clipboard

Copied

No need for a script. Just run a find/change and leave the find field empty

Capture d’écran 2022-01-26 à 10.17.41.jpg

Click on the magnifying glass icon to choose the paragraph (or character) style you need to find

Capture d’écran 2022-01-26 à 10.16.35.jpg

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 Beginner ,
Jan 26, 2022 Jan 26, 2022

Copy link to clipboard

Copied

Hi jmlevy.

 

Thanks for your reply. I try to select text on your way but only one text line can be selected, it is not possible to select all text at once from that character style from each text frame on one page.

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 ,
Jan 26, 2022 Jan 26, 2022

Copy link to clipboard

Copied

While you cannot select al the text at once, you CAN specify the change format ad press the Change All button...

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 ,
Jan 26, 2022 Jan 26, 2022

Copy link to clipboard

Copied

"it is not possible to select all text at once from that character style from each text frame on one page."

 

Of course. m1b already said that in the first reply of this thread:

"You can't actually "select" it because you can't select non-consecutive text ranges."

 

To select text that is in non-consecutive text ranges is simply not a feature in InDesign.

 

Regards,
Uwe Laubender

( ACP )

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 ,
Jan 27, 2022 Jan 27, 2022

Copy link to clipboard

Copied

Putting aside the issue as to whether you should outline the text (as it could cause a host of issues, such as flow issues across threaded frames), here's a script that would do it by character style. Use at your own risk.

 

var main = function() {
    var charStyleToFind = "Style1";
    try { 
        var doc = app.activeDocument; 
    } catch(e) {
        return;
    }
    app.findTextPreferences = null;
    app.findTextPreferences.appliedCharacterStyle = charStyleToFind;
    var fs = doc.findText();
    for (var i = fs.length - 1; i >= 0; i--) {
        try {
            fs[i].createOutlines();
        } catch(e) {}
    }
}
main();

 

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 Beginner ,
Feb 03, 2022 Feb 03, 2022

Copy link to clipboard

Copied

LATEST

Thanks for the script!

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