Ok I have the script working and creating my folio BUT.. the function calls for two documents
if I try and pass in a document with alternate layouts I get a message saying that documents containing multiple page sizes are not allowed. if I copy the document and delete a layout off of both the folio builds fine...
Any suggestions on how to do this using the single INDD file? seems to defeat the purpose of having the alternate layouts if the functions cant support them, or I am missing something here?