I’ve been using a script to create paragraph and character styles automatically for quite some time and I’d like to share that script with you. It was developed by Thomas Silkjaer in Denmark and he has kindly given me permission to make it available here.

Simply download the script, unzip the file, and place in your Scripts Panel folder within your InDesign application folder. Select a text frame in InDesign and double-click on the auto_create_p_c_styles.jsx script in the Scripts panel and it will create styles from all the text in the selected frame.