This content has been marked as final. Show 5 replies
You don't need a script for this. See the Create Merged Document dialog on this page of the Data Merge tutorial on Adobe.com:
You need to operate the Records per Document Page drop-down.
MyoMy did that ever do the trick! I love it, Thanks Dave! I can already see some more modifications coming, automating some of the more mundane stuff.
Hi Dave this worked so well I have become obsessed with "looking under the hood" how does it work and can this be manually scripted? I have encountered your name in quite a few post as the Guru so if you please, could you point me there.
If it can be done with InDesign, then almost without exception, it can be scripted. The exceptions are few and far between: off the top of my head, a script can't control the preference to allow attached scripts -- the preference would be pointless if it could.
There are also things that can be done in a script that can't be done (as opposed to "would be very onerous to do") in the UI. For example, see this:
For more info, check out the InDesign Scripting page on Adobe.com. You might also look at my blog here:
Also, Pete Kahrel has an O'Reilly eBook that is a very good introduction.
Sorry to revisit the topic, data merge works fine except I have one little glitch. When I draw a text box my first entry <<E001>> is entered once I select the data. Yet when I populate the fields the first text boxes always contains <<E002>>. This is so minor that I have ignored it but it is beginning to pique my interest as to that correct way to do this.