I receive CS5.5 documents in which paragraph styles are in groups. When I run this script http://forums.adobe.com/message/1913197 , it works only on the paragraph styles that are not in styles groups. Can someone help me?
That's because there is a difference in scope between "paragraphStyles" and "allParagraphStyles" (lists all paragraph styles (regardless of their group)).
should do the trick (not tested with the script in the linked thread).
Same goes for the character styles section:
Works perfectly, thank you!