Search code examples
javascriptc#scriptingadobeadobe-indesign

Export text to excel, translate and import back


As the title says, I am looking for advice on how to program an own little tool to export text from an adobe in-design file (like *.idml) to excel - translate it - and import it back to in-design with the translated text.

I saw there is a COM interface to in-design for C#. Is this doable with it? Is there any documentation on how one could do something like that or do I need to write javascript to do what I want.

I found out about the ExportAllStories.jsx script which is built-in inside in-design (it exports the text/stories to individual files) but I didn't find out on how I could import the files back after I would change/translate them.


Solution

  • Alright. There was not really a documentation but In-Design has a .NET C# COM - Interface and I was able to access the content, like texts with that reference.