about app.beginUndoGroup() function
I use
app.beginUndoGroup();
<some code>
app.executeCommand(app.findMenuCommandId("Convert Expression to Keyframes"));
<some code>
app.endUndoGroup()
in my javascript;
after run my script,
I use keyboard shortcut "Ctrl + M" add a comp to render queue;
then I use "Ctrl + Z" want to undo add comp to render queue;
but AE told me "Undo group mismatch, will attempt to fix";
and AE back to before run my script;
in my other script, I found
app.project.renderQueue.render()
this function will affect undo group,
did convert expression will affect undo group too ?
any other command else ??