Data merge and print script
hi all,
wonder if people make suggestions or lend advice.
i have job load of csv files merged template , indesign , printed.
so have
1. select date source
2. create merged doc
3. print
4. move onto next csv..and repeat
because of nature of job can't merge csv files one.
could automate this?
with ever.
hi,
i guess need employ script outside indesign environment. use autohotkey lot, , quite powerful. creating script can simple or complicated either, depending on knowledge.
the way used thing similar task creating script pressing physical keyboard keys. may assign keyboard shortkeys in indesign changing source file , make autohotkey press needed keystrokes different files in row. or use autoscriptwriter (recorder) see mouse clicks coordinates, not preferable me, since windows positions , sizes varies.
here small example of code shift+f4 assigned shortkey performing merge , "; " stands "comment" line:
; perform data merge
send, {shiftdown}{f4}{shiftup}
sleep, 250
send, {enter}
winwait, creating merged document,
ifwinnotactive, creating merged document, , winactivate, creating merged document,
winwaitactive, creating merged document,
winwaitclose
sleep, 350
send, {enter}
as may see, it's quite straightforward , simple.
hope helpful.
More discussions in InDesign Scripting
adobe
Comments
Post a Comment