What chooses the page setup in this script
I'm going nuts trying to find the rational explanation of what one of the sample scripts in InDesign does.
The script is the ImageCatalog.jsx included in the Javascript samples.
When you invoke the script it asks you to point to a folder of images and then creates a new ID document with the images arranged neatly.
Can someone look at the script and tell me if there is something in there that defines the page setup? I've copied the script into its own link in case you need it: Dropbox - ImageCatalog copy.jsx