Creating a Styled List of Styles in InDesign

Whether it’s your job to create documentation for a project, or you’re just trying to understand the formatting of a document that was built by someone else, a free script by Dave Saunders can be a big help. The script creates a list of all the paragraph styles in the document where each style name appears in the formatting of the style. It gives you the ability to make an instant visual guide to a document’s paragraph styles.

The list is put in a text frame on the pasteboard, and the order of the styles matches what you see in the Paragraph Styles panel.

Pretty handy!

Click here to download the script.

Bookmark
Please login to bookmark Close

This article was last modified on July 28, 2022

Comments (13)

Leave a Reply

Your email address will not be published. Required fields are marked *

  1. Hey Mike,

    This script is awesome and I have been using it for YEARS now. I use it to create a little side text box in all of my project templates to help visualize the text hierarchy, which is especially handy when I need to make a document much larger or much smaller, and want to make sure all paragraph styles are also resized accordingly without losing the hierarchy.

    One question though, is there a version of this script that also provides a styled list of character styles?

    I will often just create one manually, but having it as a script would be SO handy.

    1. Mike Rankin

      Hi Kaela- I’m so glad the script has helped you. I’m sorry, I’m not aware of a version that would do character styles, but I agree that would be very cool. It is a very short script, so I suppose you could try find/changing all the references to paragraph styles to character styles and see what happens.

  2. Phil Frank

    Is there a script that will also provide formatting specs for every style in a document?

    1. Jean-Claude Tremblay

      Phil, try the script: Export paragraph style description settings

      http://kasyan.ho.ua/indesign/export/export_styles_description_settings_to_csv.html

  3. Adriana Cordero

    Just saw David B’s presentation on this from last year’s Type summit. From the link on the handout, it goes to the code. No matter what I try, I cannot get this script to work. Once in the scripts panel, there’s an info icon to the left instead of a script icon. I have carefully copied, and saved with .jsx. I’m all out of ideas!

    1. Mike Rankin

      Hi Adriana- Sorry for the trouble. I changed the link in the post. Please try it again to download the script, unzip it, and then use the instructions in this post to install it. I just double-checked and the script works fine in InDesign 2022. https://creativepro.com/how-to-install-scripts-in-indesign/

  4. I can’t get it to run at all. I opened the script in Extended Script Toolkit and I get an error.

    If (app.documents.length > 0) {
    Error message = anonymous()

    I’m running InDesign CC 2018.

    1. Mike Rankin

      I just tried it in CC 2018 and it works for me. Maybe try installing it in the Scripts panel and running it from there.

  5. Nicole Langston

    The example you show looks like it is showing the exact font, size, color, etc of the paragraph style. When I ran the script, it listed all the paragraph styles in the same font, in the same size. It did show the correct alignment and space before/after. Should it have shown the paragraph styles with the correct attributes?

    thank you

    1. Andreas Keiner

      Maybe you should check if a character style is active when you run the script – I had a similar result as you until I turned the character style off.

      1. selecting none in character styles worked for me in id2019. thanks!

    2. Mike Rankin

      Yes it should apply the styles to the text so you should see all the formatting. Not sure why it would do what you’re describing. Maybe try a different document?

  6. Andreas Keiner

    Pretty handy indeed!! Thanks a lot for passing this one on.

    This is what I found out, when I tried the script, and which might be helpful for others: The text frame that is generated when the script is being processed will be placed on the pasteboard on the left to the FIRST PAGE of the document. If you are on any other page while processing the script it might seem like nothing is happening – just look on the first page, there you’ll find it!