Copy link to clipboard
Copied
...or a Mac script? Rather than open up every file and Export as........? Affinity 3 is out and free.
Copy link to clipboard
Copied
Have a look at the Batch Exporter script:
https://creativepro.com/files/kahrel/indesign/batch_convert.html
Copy link to clipboard
Copied
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).
Copy link to clipboard
Copied
Thank you to all for responses. Duly noted.
Copy link to clipboard
Copied
Batch processor script
Export to IDML — Exports InDesign markup (IDML) file to the same location as the InDesign document.
Copy link to clipboard
Copied
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?
Copy link to clipboard
Copied
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.
Copy link to clipboard
Copied
Thank you Kasyan. Just to be sure before I try your suggestions, the path I used to install was ..... InDesign 2026/Scripts/Scripts Panel/Samples/Javascript
Copy link to clipboard
Copied
This path will work, though the 'Samples' forder is supposed for example scripts. (In my opinion, the term 'Samples' is inapropriate in this context.)
I suggest you to create this folder:
... InDesign 2026/Scripts/Scripts Panel/Version 20.0 Scripts
and run the batch processor from there.
This should execute it, as if you're in InDesign 2025.
Copy link to clipboard
Copied
Yes, thank you. Unfortunately that didn't work either InDesign 2025 or 2026. Just to reiterate it worked initially in 2026 and the message was I think 138 docs exported (or words to that effect) but only 3 or 4 were visible in Finder. Thank you for your responses and solutions.
Copy link to clipboard
Copied
Line 266 - app.doScript(g.scriptFile, scriptLanguage, g.arguments, UndoModes.ENTIRE_SCRIPT, "\"" + g.scriptName + "\" Script");
Anyone know Javascript?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now