Can you suspend history or capture undo in one function in illustrator?
Just wondering if there is an equivalent to Photoshop:
app.activeDocument.suspendHistory("Heres my undo state", 'main()')or InDesign:
app.doScript(main, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, "Heres my Undo State");
While Illustrator does have doScript, it's only for Actions from what I gather. Any googling of suspend history brings up Photoshop implementations. Anything similar for Illustrator?
