Quantcast
Channel: Adobe Community : Popular Discussions - InDesign Scripting
Viewing all articles
Browse latest Browse all 15932

doScript (UndoModes) breaks InDesign's Undo (CS4)

$
0
0

I wrote a little script. To make sure that I can undo it all in one go, I used:

 

app.doScript(main, undefined, undefined, UndoModes.fastEntireScript,"My script");

 

Once the script completes, InDesign's regular undo is broken. It no longer undoes separate steps, but will only revert to the point before which the script has been run.

 

What can I add at the end of the script to return things to normal?

 

Thanks,

Ariel


Viewing all articles
Browse latest Browse all 15932

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>