Need Assistance : Creating a script - Using Data Merge info to adjust varying page sizes
I am looking for help to create a script, that adjusts varing page sizes based on pulled in Data Merge info - the CSV file has fields for W & H, so I want to adjust the pages created from the merge, to be specific sizes, each unique in the created merged document.
e.g. - CSV file, Row 1 has "6" in the W column, "10" in the H column, after the merged doc is created, page 1 would pull in all fields, and also set the page size to 6" x 10" in size. Each page would be a different size.
I am new to scripting so I thought this would be a good first go at doing so. I've started my research but don't find a whole lot in the way of combining data merge & scripting. Would it be best to incorporate the action along w/ the merge, or after the document is created, create a script to resize each page based on a given field populated by the CSV file after the fact? ( <<WIDTH>> and <<HEIGHT>> created fields in the merge.
Hopefully that all makes sense -
Thanks!



