Skip to main content
Known Participant
October 30, 2025
Question

Is there a way to batch Export mulitple INDD files to IDML across a drive?

  • October 30, 2025
  • 3 replies
  • 307 views

...or a Mac script? Rather than open up every file and Export as........? Affinity 3 is out and free.

3 replies

Kasyan Servetsky
Legend
October 31, 2025

Batch processor script

Export to IDML — Exports InDesign markup (IDML) file to the same location as the InDesign document.

 

Howard_FAuthor
Known Participant
November 10, 2025

I seem to be having trouble getting this script tp work. Initially it did convert a few files but not many. Now I get this error message. Mac 15.6.1 and Indesign 2026, 21.. What should I be looking for in the log?

 

Kasyan Servetsky
Legend
November 11, 2025

I don't have InDesign 2026 so can't test it: maybe something has changed  in this version preventing the script from working properly.
Did/Does it work in previous versions 2025/2024?

If so, try to run it using an older API by creating a version specific sub-folder in the Scripts Panel, for example:
Scripts Panel > Version 20.0 Scripts
and moving the batch processor there.
Another guess is maybe something went wrong with particular file(s).

Probably you attempted to process a mix of files — native 2026 and older (converted) — thus some were processed and some failed.

I see the error happens on line 266 while the batch processor thies to execute the doScript command to trigger export_to_idml.jsx. But I need  to dubug it to figure out what goes wrong.

leo.r
Community Expert
Community Expert
October 30, 2025
quote

Affinity 3 is out and free.


By @Howard_F

 

If your point is that you want to batch-convert to IDML in order to move to Affinity:

 

Just keep in mind that you won't be able to seek scripts or other automation solutions for Affinity as it's not currently scriptable or otherwise extendable. (Photo and Designer do have some minimal automation options which still don't come even close to what Adobe offers, while Publisher has none).

Howard_FAuthor
Known Participant
October 31, 2025

Thank you to all for responses. Duly noted.

brian_p_dts
Community Expert
Community Expert
October 30, 2025

Have a look at the Batch Exporter script: 

 

https://creativepro.com/files/kahrel/indesign/batch_convert.html