Script for Assigning Paragraph Styles to text with similar settings
I'm looking for a script or some way to easily assign different paragraph styles to hundreds of text boxes inside a document all based on the format of the text. All of the text is identical in format, but on different pages. Obviously, I could just go and create styles based on the first page's text and then go and assign it on each subsequent page, but that is hundreds of pages and I'd like to avoid that if I can.
The backstory: I have a designer who reports to me that is unfamiliar with Paragraph styles, but they just completed a document that I would like to make more evergreen. They ran a data merge, but didn't assign any styles prior to creating the merged document and then had hours of work afterwards adjusting graphics on each page. All of the text is the same and based on the initial text box, so is there a faster way than going through one by one to assign styles to all of the pages? That way, if anything needs changed moving foward we can easily adjust the style instead of having to adjust each page individually.
Any help would be greatly appreciated — I'm new to using scripts and have no idea how to make them myself, but after using a few to speedup my workflow I figure it's worth asking before doing it all manually.
