script to change aspects of Paragraph and Object styles
I realize these actions can be done manually, but I am trying to make one big script to run that makes multiple changes. I have found various scripts (mostly the included FindChangeByList) but have not been able to find/figure out scripts that will make the following two things happen:
1) find all instances in the document of ParagraphStyle "ParagraphStyleName" and change the justtification (for example, to Center or to Left).
2) find all instances in the document of Object Style "ObjectStyleName" and turn on the Text Box Auto-Size feature, specify anchor point of TopCenter, and turn on No Line Breaks.
Any ideas? Is this possible with scripting? I have tried having the FindChangeByList find one paragraph style and change it to another, but it either doesn't work or I'm doing something wrong. And from what I can tell FindChangeByList does not to objects.
