InDesign Script to auto-insert pre-defined different multiple parent spreads
Hello Adobe Community,
I'm working on a template layout for a product-flyer that has multiple parent pages (5 categories with 4 page layouts for each category (ex. 1 Hero product, 2 Hero products, 1 hero + 4 normal products, 8 normal products).

Lets say I want to insert 5 pages from E, 6 pages from H & 11 pages from X. is there a way to script/automate this process?
Thanks in advance 🙂
Cherif
