I have a few questions about 'doc.undo()'
Hi everyone~
Can I specify the number of steps to undo? Or can I only undo the last step?
Or undo a specific function? Alternatively, you can specify a range to undo.
Second question: I’m using `undo()` in my code, but I’ve found that I can no longer use the global single-step undo feature (app.doScript(main, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, 'name')).
If that's the case, there won't be any reaction.
try {
app.doScript(main, ScriptLanguage.JAVASCRIPT, undefined, UndoModes.ENTIRE_SCRIPT, 'name')
} catch (e) { };Thank you.


