Skip to main content
Inspiring
November 3, 2025
Answered

Is beginUndoGroup() function still working in illustrator 2025?

  • November 3, 2025
  • 1 reply
  • 79 views

I have simple scripts for illustrator which used to work fine for couple of years,
first time to use them today in version Ai 2025 (29.0.1) and I got an error concerning undo group

error says:
app.beginUndoGroup is not a function

Correct answer m1b

Hi @Hani ElTiby I dont think app.beginUndoGroup is in the illustrator scripting API. Maybe you're thinking of After Effects?

 

In Illustrator most scripting operations will be part of the same undo group. In fact we must use something like app.redraw() to close the current undo group and start a new one.

- Mark

1 reply

m1b
Community Expert
m1bCommunity ExpertCorrect answer
Community Expert
November 3, 2025

Hi @Hani ElTiby I dont think app.beginUndoGroup is in the illustrator scripting API. Maybe you're thinking of After Effects?

 

In Illustrator most scripting operations will be part of the same undo group. In fact we must use something like app.redraw() to close the current undo group and start a new one.

- Mark