Select by text attribute and apply a style
I have several long Pages documents, where the same formatting is used through out, but Paragraph styles have not been used.
Example: On every page, there is a heading in Bold, font size 24.
There is a subheading in Bold, font size 12. etc
Question 1:
Is there any way to batch select every element that uses a formating combination and then apply a paragraph style to it.
(E.g. Select all text that is bold, with font size of 24 and then apply the Heading 1 Paragraph style).
I am guessing I would probably have to use AppleScript. I was looking at the documentation and found that it is possible to select by font size, but it doesn't seem possible to apply Paragraph styles.
Question 2:
If applying Paragraph styles isn't possible, is it possible to select all instances of text that use a particular font size at once? Then I could select all the text and just apply the style from the inspector with one click.
Question 3:
If multiple selection isn't possible, then is it possible to select the next instance of text that uses a particular font size (e.g. Next instance from the text insertion point). I could then use the Apple script with Keyboard Maestro, which has the capability to apply styles. The Apple script would move through the document selecting the desired text and would pause long enough for Keyboard Maestro to apply the style before moving to the next text instance.
Thanks for any help that can be offered.
MacBook Pro Retina