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.
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!
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
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?
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.
selecting none in character styles worked for me in id2019. thanks!
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.
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.
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!
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/
Is there a script that will also provide formatting specs for every style in a document?
Phil, try the script: Export paragraph style description settings
http://kasyan.ho.ua/indesign/export/export_styles_description_settings_to_csv.html