A script to loop a Mutiparagraph Style in indesign
I am trying to work on a dictionary document. I have created Paragraph styled for each paragraph but I noticed indesign does not allow you to loop more than three multiparagraphs styles in canva. I wanted to know if there was a script for that.

I have created Paragraph styles that goes like this
1. 'Apply Style 1 to Line A'
2. Apply Style 2 to Line B
3. Apply Style 3 to Line C
4. Apply Style 4 to Line D
5. Apply Style 5 to Line E
Sometimes a word might have two meanings so:
6. Apply Style 1 to Line F
7. Apply Style 2 to Line G
7. Apply Style 6 to Line H
Is it possible to get a script for multiple paragraph styles like this.
