Hot answers tagged

3

This example should get you started. You need to run the script once per InDesign session. You could add it as a startup script for example. It will save everytime the user saves the document a idml file. #targetengine "session" // we need a targetegine to make this work var doc = app.activeDocument; // get the current doc // now to the event listener ...


2

Thanks, @fabiantheblind, that works brilliantly. I've added a few (borrowed) lines to make it work as a Startup Script (so it waits for a document to be opened). #targetengine "session" // we need a targetengine to make this work app.addEventListener('afterOpen', function(myEvent) { // Only run once a document is opened. See ...



Only top voted, non community-wiki answers of a minimum length are eligible