Could a script be written to swap the order of two consecutive paragraph styles around? A GREP search and replace, somehow?
I need the headings to be in this order:
Name of concert venue
Date and location of concert
Name of musician
But it’s been sent in this order:
Date and location of concert
Name of concert venue
Name of musician
There are thousands of entries. I was able to apply separate paragraph styles to these headings (thankfully, all those headings had certain peculiarities and things in common that meant I could apply styles to them using a search and replace).
But they are still in the wrong order. So… could a script identify instances of Paragraph Style 2 followed by Paragraph Style 1 and move those paragraphs around, to be Paragraph 1 followed by Paragraph 2?
It did occur to me that I could alter the Baseline Shift in those Paragraph Styles , so even though they’d still technically be in the wrong order, in practice on the page they’d look right. I suspect my boss wouldn’t like it though as a matter of principle.