Index Statistics

The script displays a simple window showing the number of topics used in the active document together with the number of subtopics and the number of unused topics. It also...

This script is part of the Indexes and Concordances collection. See the full collection here.ย 

The script does some number crunching on the document’s index and shows the results as follows:

index statistics dispplay

To view the unused topics, click OK. They’re printed to a text file named UnusedTopics.txt which is placed on your desktop. The file is opened in your OS’s default text editor.

Note: The script deals only with InDesign’s index, reading all the information from the Index panel, not from a generated index. It’s therefore not necessary to generate the index before collecting the statistics.


Version history

10 Feb. 2019: Unused topics weren’t counted correctly; fixed.

31 Jan. 2015: posted.


Peter Kahrel Script Repository
Hosted as a community service, and with deep appreciation, by CreativePro.com


Scripts by Topic | Script Index
Basic Script Installation and Use
How to Modify or Configure These Scripts
Resources for Scripting and Publishing Automation
About This Repository


Repository Home Page


Contact Peter Kahrel


Note to users: You run scripts at your own risk: CreativePro and the author accept no liability for anything that may be caused by any of these scripts. Always take the necessary precautions. We encourage you to save backups and test scripts on copies of your documents.

Bookmark
Please login to bookmark Close

This article was last modified on August 22, 2026

Comments (0)

Leave a Reply

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

Loading comments...